};
#endif
+STATIC_ASSERT(sizeof(struct ether_header) == 14, "ether_header has incorrect size");
+
#ifndef HAVE_STRUCT_ARPHDR
struct arphdr {
uint16_t ar_hrd;
#define ARPOP_NAK 10
#endif
+STATIC_ASSERT(sizeof(struct arphdr) == 8, "arphdr has incorrect size");
+
#ifndef HAVE_STRUCT_ETHER_ARP
struct ether_arp {
struct arphdr ea_hdr;
#define arp_op ea_hdr.ar_op
#endif
+STATIC_ASSERT(sizeof(struct ether_arp) == 28, "ether_arp has incorrect size");
+
#endif