|
ROHC compression/decompression library
|
Defines an IP-agnostic packet that can handle an IPv4 or IPv6 packet. More...
#include <ip.h>

Data Fields | |
| ip_version | version |
| The version of the IP packet. | |
| union { | |
| struct ipv4_hdr v4 | |
| The IPv4 header. | |
| struct ipv6_hdr v6 | |
| The IPv6 header. | |
| } | header |
| The IP header. | |
| const uint8_t * | data |
| The whole IP data (header + payload) if not NULL. | |
| size_t | size |
| The length (in bytes) of the whole IP data (header + payload) | |
| struct net_hdr | nh |
| struct net_hdr | nl |
Defines an IP-agnostic packet that can handle an IPv4 or IPv6 packet.
| const uint8_t* ip_packet::data |
The whole IP data (header + payload) if not NULL.
| union { ... } ip_packet::header |
The IP header.
| struct net_hdr ip_packet::nh |
The next header (extension headers included)
| struct net_hdr ip_packet::nl |
The next layer (extension headers excluded)
| size_t ip_packet::size |
The length (in bytes) of the whole IP data (header + payload)
| struct ipv4_hdr ip_packet::v4 |
The IPv4 header.
| struct ipv6_hdr ip_packet::v6 |
The IPv6 header.
The version of the IP packet.
1.7.6.1