GNUnet  0.11.x
Data Fields
GNUNET_NAT_AUTO_Test Struct Reference

Handle to a NAT test. More...

Collaboration diagram for GNUNET_NAT_AUTO_Test:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration used. More...
 
GNUNET_NAT_TestCallback report
 Function to call with success report. More...
 
void * report_cls
 Closure for report. More...
 
struct GNUNET_NAT_Handlenat
 Handle to NAT traversal in use. More...
 
struct GNUNET_NETWORK_Handlelsock
 Handle to listen socket, or NULL. More...
 
struct NatActivityna_head
 Head of list of nat activities. More...
 
struct NatActivityna_tail
 Tail of list of nat activities. More...
 
struct ClientActivityca_head
 Head of list of client activities. More...
 
struct ClientActivityca_tail
 Tail of list of client activities. More...
 
struct GNUNET_SCHEDULER_Taskltask
 Identity of task for the listen socket (if any) More...
 
struct GNUNET_SCHEDULER_Taskttask
 Task identifier for the timeout (if any) More...
 
char * section_name
 Section name of plugin to test. More...
 
int proto
 IPPROTO_TCP or IPPROTO_UDP. More...
 
uint16_t data
 Data that should be transmitted or source-port. More...
 
enum GNUNET_NAT_StatusCode status
 Status code to be reported to the timeout/status call. More...
 

Detailed Description

Handle to a NAT test.

Definition at line 98 of file nat_auto_api_test.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_NAT_AUTO_Test::cfg

Configuration used.

Definition at line 103 of file nat_auto_api_test.c.

Referenced by addr_cb(), and GNUNET_NAT_AUTO_test_start().

◆ report

GNUNET_NAT_TestCallback GNUNET_NAT_AUTO_Test::report

Function to call with success report.

Definition at line 108 of file nat_auto_api_test.c.

Referenced by do_fail(), do_read(), do_udp_read(), GNUNET_NAT_AUTO_test_start(), and reversal_cb().

◆ report_cls

void* GNUNET_NAT_AUTO_Test::report_cls

Closure for report.

Definition at line 113 of file nat_auto_api_test.c.

Referenced by do_fail(), do_read(), do_udp_read(), GNUNET_NAT_AUTO_test_start(), and reversal_cb().

◆ nat

struct GNUNET_NAT_Handle* GNUNET_NAT_AUTO_Test::nat

Handle to NAT traversal in use.

Definition at line 118 of file nat_auto_api_test.c.

Referenced by GNUNET_NAT_AUTO_test_start(), and GNUNET_NAT_AUTO_test_stop().

◆ lsock

struct GNUNET_NETWORK_Handle* GNUNET_NAT_AUTO_Test::lsock

Handle to listen socket, or NULL.

Definition at line 123 of file nat_auto_api_test.c.

Referenced by do_accept(), do_udp_read(), GNUNET_NAT_AUTO_test_start(), and GNUNET_NAT_AUTO_test_stop().

◆ na_head

struct NatActivity* GNUNET_NAT_AUTO_Test::na_head

Head of list of nat activities.

Definition at line 128 of file nat_auto_api_test.c.

Referenced by do_accept(), do_read(), and GNUNET_NAT_AUTO_test_stop().

◆ na_tail

struct NatActivity* GNUNET_NAT_AUTO_Test::na_tail

Tail of list of nat activities.

Definition at line 133 of file nat_auto_api_test.c.

Referenced by do_accept(), do_read(), and GNUNET_NAT_AUTO_test_stop().

◆ ca_head

struct ClientActivity* GNUNET_NAT_AUTO_Test::ca_head

Head of list of client activities.

Definition at line 138 of file nat_auto_api_test.c.

Referenced by addr_cb(), GNUNET_NAT_AUTO_test_stop(), and mq_error_handler().

◆ ca_tail

struct ClientActivity* GNUNET_NAT_AUTO_Test::ca_tail

Tail of list of client activities.

Definition at line 143 of file nat_auto_api_test.c.

Referenced by addr_cb(), GNUNET_NAT_AUTO_test_stop(), and mq_error_handler().

◆ ltask

struct GNUNET_SCHEDULER_Task* GNUNET_NAT_AUTO_Test::ltask

Identity of task for the listen socket (if any)

Definition at line 148 of file nat_auto_api_test.c.

Referenced by do_accept(), do_udp_read(), GNUNET_NAT_AUTO_test_start(), and GNUNET_NAT_AUTO_test_stop().

◆ ttask

struct GNUNET_SCHEDULER_Task* GNUNET_NAT_AUTO_Test::ttask

Task identifier for the timeout (if any)

Definition at line 153 of file nat_auto_api_test.c.

Referenced by do_fail(), GNUNET_NAT_AUTO_test_start(), and GNUNET_NAT_AUTO_test_stop().

◆ section_name

char* GNUNET_NAT_AUTO_Test::section_name

Section name of plugin to test.

Definition at line 158 of file nat_auto_api_test.c.

Referenced by GNUNET_NAT_AUTO_test_start(), and GNUNET_NAT_AUTO_test_stop().

◆ proto

int GNUNET_NAT_AUTO_Test::proto

IPPROTO_TCP or IPPROTO_UDP.

Definition at line 163 of file nat_auto_api_test.c.

Referenced by addr_cb(), and GNUNET_NAT_AUTO_test_start().

◆ data

uint16_t GNUNET_NAT_AUTO_Test::data

Data that should be transmitted or source-port.

Definition at line 168 of file nat_auto_api_test.c.

Referenced by addr_cb(), do_read(), do_udp_read(), and reversal_cb().

◆ status

enum GNUNET_NAT_StatusCode GNUNET_NAT_AUTO_Test::status

Status code to be reported to the timeout/status call.

Definition at line 173 of file nat_auto_api_test.c.

Referenced by do_fail(), and GNUNET_NAT_AUTO_test_start().


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