GNUnet  0.11.x
Data Fields
GNUNET_NAT_AUTO_TestMessage Struct Reference

Request to test NAT traversal, sent to the gnunet-nat-server (not the service!). More...

#include </home/handbook/gnunet/src/nat-auto/nat-auto.h>

Collaboration diagram for GNUNET_NAT_AUTO_TestMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Header with type GNUNET_MESSAGE_TYPE_NAT_TEST. More...
 
uint32_t dst_ipv4
 IPv4 target IP address. More...
 
uint16_t dport
 Port to use, 0 to send dummy ICMP response. More...
 
uint16_t data
 Data to send OR advertised-port (in NBO) to use for dummy ICMP. More...
 
int32_t is_tcp
 GNUNET_YES for TCP, GNUNET_NO for UDP. More...
 

Detailed Description

Request to test NAT traversal, sent to the gnunet-nat-server (not the service!).

Definition at line 39 of file nat-auto.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_NAT_AUTO_TestMessage::header

Header with type GNUNET_MESSAGE_TYPE_NAT_TEST.

Definition at line 44 of file nat-auto.h.

◆ dst_ipv4

uint32_t GNUNET_NAT_AUTO_TestMessage::dst_ipv4

IPv4 target IP address.

Definition at line 49 of file nat-auto.h.

Referenced by addr_cb(), and handle_test().

◆ dport

uint16_t GNUNET_NAT_AUTO_TestMessage::dport

Port to use, 0 to send dummy ICMP response.

Definition at line 54 of file nat-auto.h.

Referenced by addr_cb(), and handle_test().

◆ data

uint16_t GNUNET_NAT_AUTO_TestMessage::data

Data to send OR advertised-port (in NBO) to use for dummy ICMP.

Definition at line 59 of file nat-auto.h.

Referenced by addr_cb(), and handle_test().

◆ is_tcp

int32_t GNUNET_NAT_AUTO_TestMessage::is_tcp

GNUNET_YES for TCP, GNUNET_NO for UDP.

Definition at line 64 of file nat-auto.h.

Referenced by addr_cb(), and handle_test().


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