The IPv4 header.
More...
#include <ipv4.h>
◆ @4
◆ @6
◆ check
The checksum over the IP header
◆ daddr
The destination IP address
◆ df
◆ dscp
◆ dscp_ecn
uint8_t ipv4_hdr::dscp_ecn |
The combined DSCP and ECN fields
◆ ecn
◆ frag_off
uint16_t ipv4_hdr::frag_off |
The IP flags + Fragment Offset in 64-bit words
◆ frag_off1
uint8_t ipv4_hdr::frag_off1 |
◆ frag_off2
uint8_t ipv4_hdr::frag_off2 |
The Fragment Offset in 64-bit words (part 2)
◆ id
The IDentification of the packet
◆ ihl
◆ mf
◆ options
uint8_t ipv4_hdr::options[0] |
The IP options start here
◆ protocol
uint8_t ipv4_hdr::protocol |
The Protocol of the next header
◆ reserved
uint8_t ipv4_hdr::reserved |
◆ saddr
◆ tos
The Type Of Service (TOS)
◆ tot_len
uint16_t ipv4_hdr::tot_len |
The Total Length (header + payload)
◆ ttl
◆ version
uint8_t ipv4_hdr::version |
The documentation for this struct was generated from the following file: