Handle to a NAT test. More...
Data Fields | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Configuration used. More... | |
GNUNET_NAT_TestCallback | report |
Function to call with success report. More... | |
void * | report_cls |
Closure for report. More... | |
struct GNUNET_NAT_Handle * | nat |
Handle to NAT traversal in use. More... | |
struct GNUNET_NETWORK_Handle * | lsock |
Handle to listen socket, or NULL. More... | |
struct NatActivity * | na_head |
Head of list of nat activities. More... | |
struct NatActivity * | na_tail |
Tail of list of nat activities. More... | |
struct ClientActivity * | ca_head |
Head of list of client activities. More... | |
struct ClientActivity * | ca_tail |
Tail of list of client activities. More... | |
struct GNUNET_SCHEDULER_Task * | ltask |
Identity of task for the listen socket (if any) More... | |
struct GNUNET_SCHEDULER_Task * | ttask |
Task identifier for the timeout (if any) More... | |
int | is_tcp |
GNUNET_YES if we're testing TCP More... | |
uint16_t | data |
Data that should be transmitted or source-port. More... | |
uint16_t | adv_port |
Advertised port to the other peer. More... | |
enum GNUNET_NAT_StatusCode | status |
Status code to be reported to the timeout/status call. More... | |
Handle to a NAT test.
Definition at line 98 of file gnunet-nat-auto_legacy.c.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_NAT_Test::cfg |
Configuration used.
Definition at line 103 of file gnunet-nat-auto_legacy.c.
GNUNET_NAT_TestCallback GNUNET_NAT_Test::report |
Function to call with success report.
Definition at line 108 of file gnunet-nat-auto_legacy.c.
Referenced by do_read(), and do_udp_read().
void* GNUNET_NAT_Test::report_cls |
Closure for report.
Definition at line 113 of file gnunet-nat-auto_legacy.c.
Referenced by do_read(), and do_udp_read().
struct GNUNET_NAT_Handle* GNUNET_NAT_Test::nat |
Handle to NAT traversal in use.
Definition at line 118 of file gnunet-nat-auto_legacy.c.
Referenced by GNUNET_NAT_test_stop().
struct GNUNET_NETWORK_Handle* GNUNET_NAT_Test::lsock |
Handle to listen socket, or NULL.
Definition at line 123 of file gnunet-nat-auto_legacy.c.
Referenced by do_accept(), do_udp_read(), and GNUNET_NAT_test_stop().
struct NatActivity* GNUNET_NAT_Test::na_head |
Head of list of nat activities.
Definition at line 128 of file gnunet-nat-auto_legacy.c.
Referenced by do_accept(), do_read(), and GNUNET_NAT_test_stop().
struct NatActivity* GNUNET_NAT_Test::na_tail |
Tail of list of nat activities.
Definition at line 133 of file gnunet-nat-auto_legacy.c.
Referenced by do_accept(), do_read(), and GNUNET_NAT_test_stop().
struct ClientActivity* GNUNET_NAT_Test::ca_head |
Head of list of client activities.
Definition at line 138 of file gnunet-nat-auto_legacy.c.
Referenced by GNUNET_NAT_test_stop(), and mq_error_handler().
struct ClientActivity* GNUNET_NAT_Test::ca_tail |
Tail of list of client activities.
Definition at line 143 of file gnunet-nat-auto_legacy.c.
Referenced by GNUNET_NAT_test_stop(), and mq_error_handler().
struct GNUNET_SCHEDULER_Task* GNUNET_NAT_Test::ltask |
Identity of task for the listen socket (if any)
Definition at line 148 of file gnunet-nat-auto_legacy.c.
Referenced by do_accept(), do_udp_read(), and GNUNET_NAT_test_stop().
struct GNUNET_SCHEDULER_Task* GNUNET_NAT_Test::ttask |
Task identifier for the timeout (if any)
Definition at line 153 of file gnunet-nat-auto_legacy.c.
Referenced by GNUNET_NAT_test_stop().
int GNUNET_NAT_Test::is_tcp |
GNUNET_YES if we're testing TCP
Definition at line 158 of file gnunet-nat-auto_legacy.c.
uint16_t GNUNET_NAT_Test::data |
Data that should be transmitted or source-port.
Definition at line 163 of file gnunet-nat-auto_legacy.c.
Referenced by do_read(), and do_udp_read().
uint16_t GNUNET_NAT_Test::adv_port |
Advertised port to the other peer.
Definition at line 168 of file gnunet-nat-auto_legacy.c.
enum GNUNET_NAT_StatusCode GNUNET_NAT_Test::status |
Status code to be reported to the timeout/status call.
Definition at line 173 of file gnunet-nat-auto_legacy.c.