Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include: header file definition changed to nuttx format #9188

Merged
merged 1 commit into from May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/netinet/icmp6.h
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef _INCLUDE_NETINET_ICMP6_H
#define _INCLUDE_NETINET_ICMP6_H
#ifndef __INCLUDE_NETINET_ICMP6_H
#define __INCLUDE_NETINET_ICMP6_H

/****************************************************************************
* Included Files
Expand Down Expand Up @@ -361,4 +361,4 @@ struct nd_opt_home_agent_info
uint16_t nd_opt_home_agent_info_lifetime;
};

#endif /* netinet/icmpv6.h */
#endif /* __INCLUDE_NETINET_ICMP6_H */
8 changes: 4 additions & 4 deletions include/netinet/if_ether.h
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef _INCLUDE_NETINET_IF_ETHER_H
#define _INCLUDE_NETINET_IF_ETHER_H
#ifndef __INCLUDE_NETINET_IF_ETHER_H
#define __INCLUDE_NETINET_IF_ETHER_H

/****************************************************************************
* Included Files
Expand All @@ -46,7 +46,7 @@
* RFC 826.
*/

struct ether_arp
struct ether_arp
{
struct arphdr ea_hdr; /* fixed-size header */
uint8_t arp_sha[ETH_ALEN]; /* sender hardware address */
Expand All @@ -61,4 +61,4 @@ struct ether_arp
#define arp_pln ea_hdr.ar_pln
#define arp_op ea_hdr.ar_op

#endif /* _INCLUDE_NETINET_IF_ETHER_H */
#endif /* __INCLUDE_NETINET_IF_ETHER_H */