Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sockaddr_ll Struct Reference

Socket address struct for packet socket. More...

#include <net_ip.h>

Data Fields

sa_family_t sll_family
 Always AF_PACKET

 
uint16_t sll_protocol
 Physical-layer protocol

 
int sll_ifindex
 Interface number

 
uint16_t sll_hatype
 ARP hardware type

 
uint8_t sll_pkttype
 Packet type

 
uint8_t sll_halen
 Length of address

 
uint8_t sll_addr [8]
 Physical-layer address, big endian.
 

Detailed Description

Socket address struct for packet socket.

Field Documentation

◆ sll_addr

uint8_t sockaddr_ll::sll_addr[8]

Physical-layer address, big endian.

◆ sll_family

sa_family_t sockaddr_ll::sll_family

Always AF_PACKET

◆ sll_halen

uint8_t sockaddr_ll::sll_halen

Length of address

◆ sll_hatype

uint16_t sockaddr_ll::sll_hatype

ARP hardware type

◆ sll_ifindex

int sockaddr_ll::sll_ifindex

Interface number

◆ sll_pkttype

uint8_t sockaddr_ll::sll_pkttype

Packet type

◆ sll_protocol

uint16_t sockaddr_ll::sll_protocol

Physical-layer protocol


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