GNUnet 0.21.1
GNUNET_TUN_IcmpHeader Struct Reference

ICMP header. More...

#include <gnunet_tun_lib.h>

Data Fields

uint8_t type
 
uint8_t code
 
uint16_t crc
 
union {
   struct {
      uint16_t   identifier
 
      uint16_t   sequence_number
 
   }   echo
 ICMP Echo (request/reply) More...
 
   struct ih_pmtu {
      uint16_t   empty
 
      uint16_t   next_hop_mtu
 
   }   destination_unreachable
 
   struct in_addr   redirect_gateway_address
 ICMP Redirect. More...
 
   uint32_t   packet_too_big_mtu
 MTU for packets that are too big (IPv6). More...
 
quench
 

Detailed Description

ICMP header.

Definition at line 728 of file gnunet_tun_lib.h.

Field Documentation

◆ type

uint8_t GNUNET_TUN_IcmpHeader::type

◆ code

uint8_t GNUNET_TUN_IcmpHeader::code

Definition at line 731 of file gnunet_tun_lib.h.

◆ crc

uint16_t GNUNET_TUN_IcmpHeader::crc

Definition at line 732 of file gnunet_tun_lib.h.

Referenced by GNUNET_TUN_calculate_icmp_checksum().

◆ identifier

uint16_t GNUNET_TUN_IcmpHeader::identifier

Definition at line 741 of file gnunet_tun_lib.h.

◆ sequence_number

uint16_t GNUNET_TUN_IcmpHeader::sequence_number

Definition at line 742 of file gnunet_tun_lib.h.

◆ 

struct { ... } GNUNET_TUN_IcmpHeader::echo

ICMP Echo (request/reply)

◆ empty

uint16_t GNUNET_TUN_IcmpHeader::empty

Definition at line 750 of file gnunet_tun_lib.h.

◆ next_hop_mtu

uint16_t GNUNET_TUN_IcmpHeader::next_hop_mtu

Definition at line 751 of file gnunet_tun_lib.h.

◆ 

struct { ... } ::ih_pmtu GNUNET_TUN_IcmpHeader::destination_unreachable

◆ redirect_gateway_address

struct in_addr GNUNET_TUN_IcmpHeader::redirect_gateway_address

ICMP Redirect.

Definition at line 759 of file gnunet_tun_lib.h.

◆ packet_too_big_mtu

uint32_t GNUNET_TUN_IcmpHeader::packet_too_big_mtu

MTU for packets that are too big (IPv6).

Definition at line 764 of file gnunet_tun_lib.h.

◆ 

union { ... } GNUNET_TUN_IcmpHeader::quench

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