GNUnet 0.22.0
GNUNET_NAT_TestMessage Struct Reference

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

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

Collaboration diagram for GNUNET_NAT_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 38 of file nat.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_NAT_TestMessage::header

Header with type GNUNET_MESSAGE_TYPE_NAT_TEST.

Definition at line 43 of file nat.h.

◆ dst_ipv4

uint32_t GNUNET_NAT_TestMessage::dst_ipv4

IPv4 target IP address.

Definition at line 48 of file nat.h.

◆ dport

uint16_t GNUNET_NAT_TestMessage::dport

Port to use, 0 to send dummy ICMP response.

Definition at line 53 of file nat.h.

◆ data

uint16_t GNUNET_NAT_TestMessage::data

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

Definition at line 58 of file nat.h.

Referenced by typescriptdomain.TypeScriptDomain::objects(), httpdomain.httpdomain.HTTPDomain::resolve_xref(), and httpdomain.httpdomain.HTTPDomain::routes().

◆ is_tcp

int32_t GNUNET_NAT_TestMessage::is_tcp

GNUNET_YES for TCP, GNUNET_NO for UDP.

Definition at line 63 of file nat.h.


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