Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_in_pktinfo Struct Reference

Incoming IPv4 packet information. More...

#include <zephyr/net/net_ip.h>

Data Fields

unsigned int ipi_ifindex
 Network interface index.
struct net_in_addr ipi_spec_dst
 Local address.
struct net_in_addr ipi_addr
 Header Destination address.

Detailed Description

Incoming IPv4 packet information.

Used as ancillary data when calling recvmsg() and IP_PKTINFO socket option is set.

Field Documentation

◆ ipi_addr

struct net_in_addr net_in_pktinfo::ipi_addr

Header Destination address.

◆ ipi_ifindex

unsigned int net_in_pktinfo::ipi_ifindex

Network interface index.

◆ ipi_spec_dst

struct net_in_addr net_in_pktinfo::ipi_spec_dst

Local address.


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