Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ sll_addr

unsigned char sockaddr_ll::sll_addr[8]

Physical-layer address.

Definition at line 38 of file packet.h.

◆ sll_family

unsigned short sockaddr_ll::sll_family

Always AF_PACKET.

Definition at line 32 of file packet.h.

◆ sll_halen

unsigned char sockaddr_ll::sll_halen

Length of address.

Definition at line 37 of file packet.h.

◆ sll_hatype

unsigned short sockaddr_ll::sll_hatype

ARP hardware type.

Definition at line 35 of file packet.h.

◆ sll_ifindex

int sockaddr_ll::sll_ifindex

Interface number.

Definition at line 34 of file packet.h.

◆ sll_pkttype

unsigned char sockaddr_ll::sll_pkttype

Packet type.

Definition at line 36 of file packet.h.

◆ sll_protocol

unsigned short sockaddr_ll::sll_protocol

Physical-layer protocol.

Definition at line 33 of file packet.h.


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