GNUnet 0.21.1
GNUNET_EXIT_IcmpInternetMessage Struct Reference

Message send via cadet to an exit daemon to forward ICMP data to the Internet. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/exit/exit.h>

Collaboration diagram for GNUNET_EXIT_IcmpInternetMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET. More...
 
int32_t af
 Address family, AF_INET or AF_INET6, in network byte order. More...
 
struct GNUNET_TUN_IcmpHeader icmp_header
 ICMP header to use. More...
 

Detailed Description

Message send via cadet to an exit daemon to forward ICMP data to the Internet.

Definition at line 236 of file exit.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_EXIT_IcmpInternetMessage::header

Type is GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET.

Definition at line 241 of file exit.h.

◆ af

int32_t GNUNET_EXIT_IcmpInternetMessage::af

Address family, AF_INET or AF_INET6, in network byte order.

Determines both the ICMP version used in the 'icmp_header' and the IP address format that is used for the target IP. If PT is necessary, the sender has already done it.

Definition at line 249 of file exit.h.

Referenced by route_packet().

◆ icmp_header

struct GNUNET_TUN_IcmpHeader GNUNET_EXIT_IcmpInternetMessage::icmp_header

ICMP header to use.

Must match the target 'af' given above.

Definition at line 255 of file exit.h.

Referenced by route_packet().


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