Data Fields

libtrace_icmp Struct Reference

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.

Detailed Description

Generic ICMP header structure.


Field Documentation

Checksum.

Type Sub-code.

struct { ... } libtrace_icmp::echo

Echo Datagram.

struct { ... } libtrace_icmp::frag

Path MTU Discovery.

Gateway Address.

ID of the Echo request.

Next-hop MTU.

Sequence number of the Echo request.

Message Type.

union { ... } libtrace_icmp::un

Union for Payloads of Various ICMP Codes.

Unused.


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