Packet interface on device level

Packet address family definitions.

struct sockaddr_ll

Link-Layer socket descriptor.

unsigned short sll_family

Always AF_PACKET.

unsigned short sll_protocol

Physical-layer protocol.

int sll_ifindex

Interface number.

unsigned short sll_hatype

ARP hardware type.

unsigned char sll_pkttype

Packet type.

unsigned char sll_halen

Length of address.

unsigned char sll_addr()

Physical-layer address.