diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-27 15:21:48 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-27 15:21:48 +0000 |
commit | fd65489a887c98a34ab65e57f2f20fcfeb44b027 (patch) | |
tree | f5442732ce926ff114bfead4de28997e4475482d /cpukit/libnetworking/netinet/if_ether.h | |
parent | 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fd65489a887c98a34ab65e57f2f20fcfeb44b027.tar.bz2 |
Remove BYTE_PACK.
Diffstat (limited to 'cpukit/libnetworking/netinet/if_ether.h')
-rw-r--r-- | cpukit/libnetworking/netinet/if_ether.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/libnetworking/netinet/if_ether.h b/cpukit/libnetworking/netinet/if_ether.h index fba219ac35..191b08e452 100644 --- a/cpukit/libnetworking/netinet/if_ether.h +++ b/cpukit/libnetworking/netinet/if_ether.h @@ -40,10 +40,6 @@ #include <net/ethernet.h> #include <net/if_arp.h> -#ifndef BYTE_PACK -#define BYTE_PACK __attribute__((packed)) -#endif - #ifdef _KERNEL /* * Macro to map an IP multicast address to an Ethernet multicast address. @@ -71,7 +67,7 @@ * RFC 826. */ struct ether_arp { - struct arphdr ea_hdr BYTE_PACK; /* fixed-size header */ + struct arphdr ea_hdr; /* fixed-size header */ u_char arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */ u_char arp_spa[4]; /* sender protocol address */ u_char arp_tha[ETHER_ADDR_LEN]; /* target hardware address */ @@ -83,7 +79,6 @@ struct ether_arp { #define arp_pln ea_hdr.ar_pln #define arp_op ea_hdr.ar_op - struct sockaddr_inarp { u_char sin_len; u_char sin_family; |