struct sockaddr_ll_hack

Defined at line 20 of file ../../zircon/third_party/ulib/musl/src/network/getifaddrs.h

getifaddrs() reports hardware addresses with PF_PACKET that implies

struct sockaddr_ll. But e.g. Infiniband socket address length is

longer than sockaddr_ll.ssl_addr[8] can hold. Use this hack struct

to extend ssl_addr - callers should be able to still use it.

Public Members

unsigned short sll_family
unsigned short sll_protocol
int sll_ifindex
unsigned short sll_hatype
unsigned char sll_pkttype
socklen_t sll_halen
unsigned char[24] sll_addr