netpacket/sockaddr_ll: complete the members of sockaddr_ll
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
61ee155752
commit
f66b17091c
1 changed files with 7 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue