Generic ICMP header structure. More...
Data Fields | |
uint8_t | type |
Message Type. | |
uint8_t | code |
Type Sub-code. | |
uint16_t | checksum |
Checksum. | |
union { | |
struct { | |
uint16_t id | |
ID of the Echo request. | |
uint16_t sequence | |
Sequence number of the Echo request. | |
} echo | |
Echo Datagram. | |
uint32_t gateway | |
Gateway Address. | |
struct { | |
uint16_t unused | |
Unused. | |
uint16_t mtu | |
Next-hop MTU. | |
} frag | |
Path MTU Discovery. | |
} | un |
Union for Payloads of Various ICMP Codes. |
Generic ICMP header structure.
uint16_t libtrace_icmp::checksum |
Checksum.
uint8_t libtrace_icmp::code |
Type Sub-code.
struct { ... } libtrace_icmp::echo |
Echo Datagram.
struct { ... } libtrace_icmp::frag |
Path MTU Discovery.
uint32_t libtrace_icmp::gateway |
Gateway Address.
uint16_t libtrace_icmp::id |
ID of the Echo request.
uint16_t libtrace_icmp::mtu |
Next-hop MTU.
uint16_t libtrace_icmp::sequence |
Sequence number of the Echo request.
uint8_t libtrace_icmp::type |
Message Type.
union { ... } libtrace_icmp::un |
Union for Payloads of Various ICMP Codes.
uint16_t libtrace_icmp::unused |
Unused.