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... | |
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... | |
Handle to a NAT test.
Definition at line 98 of file nat_auto_api_test.c.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_NAT_AUTO_Test::cfg |
Configuration used.
Definition at line 103 of file nat_auto_api_test.c.
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_read(), and do_udp_read().
void* GNUNET_NAT_AUTO_Test::report_cls |
Closure for report.
Definition at line 113 of file nat_auto_api_test.c.
Referenced by do_read(), and do_udp_read().
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_stop().
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(), and GNUNET_NAT_AUTO_test_stop().
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().
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().
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 GNUNET_NAT_AUTO_test_stop(), and mq_error_handler().
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 GNUNET_NAT_AUTO_test_stop(), and mq_error_handler().
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(), and GNUNET_NAT_AUTO_test_stop().
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 GNUNET_NAT_AUTO_test_stop().
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_stop().
int GNUNET_NAT_AUTO_Test::proto |
IPPROTO_TCP or IPPROTO_UDP.
Definition at line 163 of file nat_auto_api_test.c.
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 do_read(), do_udp_read(), typescriptdomain.TypeScriptDomain::objects(), httpdomain.httpdomain.HTTPDomain::resolve_xref(), and httpdomain.httpdomain.HTTPDomain::routes().
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.