diff --git a/include/netpacket/packet.h b/include/netpacket/packet.h index 0dd19473633..3c3f19c6a05 100644 --- a/include/netpacket/packet.h +++ b/include/netpacket/packet.h @@ -34,9 +34,13 @@ struct sockaddr_ll { - uint16_t sll_family; - uint16_t sll_protocol; - int16_t sll_ifindex; + unsigned short sll_family; + unsigned short sll_protocol; + int sll_ifindex; + unsigned short sll_hatype; + unsigned char sll_pkttype; + unsigned char sll_halen; + unsigned char sll_addr[8]; }; #endif /* __INCLUDE_NETPACKET_PACKET_H */