GNUnet  0.11.x
Data Fields
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...

Detailed Description

ICMP header.

Definition at line 701 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 704 of file gnunet_tun_lib.h.

◆ crc

uint16_t GNUNET_TUN_IcmpHeader::crc

Definition at line 705 of file gnunet_tun_lib.h.

Referenced by GNUNET_TUN_calculate_icmp_checksum().

◆ identifier

uint16_t GNUNET_TUN_IcmpHeader::identifier

Definition at line 714 of file gnunet_tun_lib.h.

◆ sequence_number

uint16_t GNUNET_TUN_IcmpHeader::sequence_number

Definition at line 715 of file gnunet_tun_lib.h.

◆ echo

struct { ... } GNUNET_TUN_IcmpHeader::echo

ICMP Echo (request/reply)

◆ empty

uint16_t GNUNET_TUN_IcmpHeader::empty

Definition at line 723 of file gnunet_tun_lib.h.

◆ next_hop_mtu

uint16_t GNUNET_TUN_IcmpHeader::next_hop_mtu

Definition at line 724 of file gnunet_tun_lib.h.

◆ destination_unreachable

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 732 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 737 of file gnunet_tun_lib.h.

◆ quench

union { ... } GNUNET_TUN_IcmpHeader::quench

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