Handle to a request given to the resolver. More...
Data Fields | |
struct GNUNET_RESOLVER_RequestHandle * | dns_active |
Handle to a pending DNS lookup request. More... | |
struct GNUNET_NETWORK_Handle * | sock |
Handle to the listen socket. More... | |
char * | stun_server |
Stun server address. More... | |
GNUNET_NAT_TestCallback | cb |
Function to call when a error occurs. More... | |
void * | cb_cls |
Closure for cb. More... | |
int | dns_success |
Do we got a DNS resolution successfully? More... | |
uint16_t | stun_port |
STUN port. More... | |
Handle to a request given to the resolver.
Can be used to cancel the request prior to the timeout or successful execution. Also used to track our internal state for the request.
Definition at line 56 of file nat_api_stun.c.
struct GNUNET_RESOLVER_RequestHandle* GNUNET_NAT_STUN_Handle::dns_active |
Handle to a pending DNS lookup request.
Definition at line 61 of file nat_api_stun.c.
Referenced by GNUNET_NAT_stun_make_request(), GNUNET_NAT_stun_make_request_cancel(), and stun_dns_callback().
struct GNUNET_NETWORK_Handle* GNUNET_NAT_STUN_Handle::sock |
Handle to the listen socket.
Definition at line 66 of file nat_api_stun.c.
Referenced by GNUNET_NAT_stun_make_request(), and stun_dns_callback().
char* GNUNET_NAT_STUN_Handle::stun_server |
Stun server address.
Definition at line 71 of file nat_api_stun.c.
Referenced by GNUNET_NAT_stun_make_request(), GNUNET_NAT_stun_make_request_cancel(), and stun_dns_callback().
GNUNET_NAT_TestCallback GNUNET_NAT_STUN_Handle::cb |
Function to call when a error occurs.
Definition at line 76 of file nat_api_stun.c.
Referenced by GNUNET_NAT_stun_make_request(), and stun_dns_callback().
void* GNUNET_NAT_STUN_Handle::cb_cls |
Closure for cb.
Definition at line 81 of file nat_api_stun.c.
Referenced by GNUNET_NAT_stun_make_request(), and stun_dns_callback().
int GNUNET_NAT_STUN_Handle::dns_success |
Do we got a DNS resolution successfully?
Definition at line 86 of file nat_api_stun.c.
Referenced by GNUNET_NAT_stun_make_request(), and stun_dns_callback().
uint16_t GNUNET_NAT_STUN_Handle::stun_port |
STUN port.
Definition at line 91 of file nat_api_stun.c.
Referenced by GNUNET_NAT_stun_make_request(), and stun_dns_callback().