diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 12:28:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 12:28:19 +0000 |
commit | dc28f16d8ee251f2510631cfa4e043bbe4a82a8b (patch) | |
tree | b30ebd2ba22c7e9d5ffdbf31bdb98b8ca31511f9 /cpukit/libnetworking/netinet/if_ether.h | |
parent | 2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-dc28f16d8ee251f2510631cfa4e043bbe4a82a8b.tar.bz2 |
Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.
Diffstat (limited to 'cpukit/libnetworking/netinet/if_ether.h')
-rw-r--r-- | cpukit/libnetworking/netinet/if_ether.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/netinet/if_ether.h b/cpukit/libnetworking/netinet/if_ether.h index 41c0bbe220..d27f2e31f7 100644 --- a/cpukit/libnetworking/netinet/if_ether.h +++ b/cpukit/libnetworking/netinet/if_ether.h @@ -56,7 +56,7 @@ #define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) #define ETHERMIN (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) -#ifdef KERNEL +#ifdef _KERNEL /* * Macro to map an IP multicast address to an Ethernet multicast address. * The high-order 25 bits of the Ethernet address are statically assigned, @@ -127,7 +127,7 @@ struct sockaddr_inarp { #define RTF_USETRAILERS RTF_PROTO1 /* use trailers */ #define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */ -#ifdef KERNEL +#ifdef _KERNEL extern u_char etherbroadcastaddr[ETHER_ADDR_LEN]; extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN]; extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN]; |