netpacket/sockaddr_ll: complete the members of sockaddr_ll

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-06-02 15:21:16 +08:00 committed by Xiang Xiao
parent 61ee155752
commit f66b17091c

View file

@ -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 */