sockaddr_ll Struct Reference

Link-Layer socket descriptor. More...

Detailed Description

Link-Layer socket descriptor.

Definition at line 31 of file packet.h.

#include <packet.h>

Data Fields

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 [8]
 Physical-layer address.
 

The documentation for this struct was generated from the following file: