GNUnet  0.11.x
Data Fields
GNUNET_EXIT_UdpInternetMessage Struct Reference

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

#include </home/handbook/gnunet/src/exit/exit.h>

Collaboration diagram for GNUNET_EXIT_UdpInternetMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET. More...
 
int32_t af
 Address family, AF_INET or AF_INET6, in network byte order. More...
 
uint16_t source_port
 Source port to use for the UDP request (0 to use a random port). More...
 
uint16_t destination_port
 Destination port to use for the UDP request. More...
 

Detailed Description

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

Definition at line 145 of file exit.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_EXIT_UdpInternetMessage::header

Type is GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET.

Definition at line 150 of file exit.h.

Referenced by handle_udp_remote().

◆ af

int32_t GNUNET_EXIT_UdpInternetMessage::af

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

Definition at line 155 of file exit.h.

Referenced by handle_udp_remote(), and route_packet().

◆ source_port

uint16_t GNUNET_EXIT_UdpInternetMessage::source_port

Source port to use for the UDP request (0 to use a random port).

In NBO.

Definition at line 160 of file exit.h.

Referenced by handle_udp_remote(), and route_packet().

◆ destination_port

uint16_t GNUNET_EXIT_UdpInternetMessage::destination_port

Destination port to use for the UDP request.

In NBO.

Definition at line 165 of file exit.h.

Referenced by handle_udp_remote(), and route_packet().


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