Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Struct presents either IPv4 or IPv6 header in ICMP response message. More...

#include <icmp.h>

Data Fields

union {
   struct net_ipv4_hdr *   ipv4
 IPv4 header in response message. More...
 
   struct net_ipv6_hdr *   ipv6
 IPv6 header in response message. More...
 
}; 
 
sa_family_t family
 Is the header IPv4 or IPv6 one.
 

Detailed Description

Struct presents either IPv4 or IPv6 header in ICMP response message.

Field Documentation

◆ 

union { ... } net_icmp_ip_hdr::@300

◆ family

sa_family_t net_icmp_ip_hdr::family

Is the header IPv4 or IPv6 one.

Value of either AF_INET or AF_INET6

◆ ipv4

struct net_ipv4_hdr* net_icmp_ip_hdr::ipv4

IPv4 header in response message.

◆ ipv6

struct net_ipv6_hdr* net_icmp_ip_hdr::ipv6

IPv6 header in response message.


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