Handle to a mapping created with upnpc. More...
Data Fields | |
GNUNET_NAT_MiniAddressCallback | ac |
Function to call on mapping changes. More... | |
void * | ac_cls |
Closure for ac. More... | |
struct GNUNET_OS_CommandHandle * | map_cmd |
Command used to install the map. More... | |
struct GNUNET_OS_CommandHandle * | refresh_cmd |
Command used to refresh our map information. More... | |
struct GNUNET_OS_CommandHandle * | unmap_cmd |
Command used to remove the mapping. More... | |
struct sockaddr_in | current_addr |
Our current external mapping (if we have one). More... | |
struct GNUNET_SCHEDULER_Task * | refresh_task |
We check the mapping periodically to see if it still works. More... | |
int | is_tcp |
Are we mapping TCP or UDP? More... | |
int | did_map |
Did we succeed with creating a mapping? More... | |
int | found |
Did we find our mapping during refresh scan? More... | |
uint16_t | port |
Which port are we mapping? More... | |
Handle to a mapping created with upnpc.
Definition at line 260 of file gnunet-service-nat_mini.c.
GNUNET_NAT_MiniAddressCallback GNUNET_NAT_MiniHandle::ac |
Function to call on mapping changes.
Definition at line 265 of file gnunet-service-nat_mini.c.
Referenced by do_refresh(), GNUNET_NAT_mini_map_start(), GNUNET_NAT_mini_map_stop(), process_map_output(), process_refresh_output(), and run_upnpc_r().
void* GNUNET_NAT_MiniHandle::ac_cls |
Closure for ac.
Definition at line 270 of file gnunet-service-nat_mini.c.
Referenced by do_refresh(), GNUNET_NAT_mini_map_start(), GNUNET_NAT_mini_map_stop(), process_map_output(), process_refresh_output(), and run_upnpc_r().
struct GNUNET_OS_CommandHandle* GNUNET_NAT_MiniHandle::map_cmd |
Command used to install the map.
Definition at line 275 of file gnunet-service-nat_mini.c.
Referenced by do_refresh(), GNUNET_NAT_mini_map_stop(), process_map_output(), and run_upnpc_r().
struct GNUNET_OS_CommandHandle* GNUNET_NAT_MiniHandle::refresh_cmd |
Command used to refresh our map information.
Definition at line 280 of file gnunet-service-nat_mini.c.
Referenced by do_refresh(), GNUNET_NAT_mini_map_stop(), and process_refresh_output().
struct GNUNET_OS_CommandHandle* GNUNET_NAT_MiniHandle::unmap_cmd |
Command used to remove the mapping.
Definition at line 285 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_map_stop(), and process_unmap_output().
struct sockaddr_in GNUNET_NAT_MiniHandle::current_addr |
Our current external mapping (if we have one).
Definition at line 290 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_map_stop(), process_map_output(), and process_refresh_output().
struct GNUNET_SCHEDULER_Task* GNUNET_NAT_MiniHandle::refresh_task |
We check the mapping periodically to see if it still works.
This task triggers the check.
Definition at line 296 of file gnunet-service-nat_mini.c.
Referenced by do_refresh(), GNUNET_NAT_mini_map_stop(), and process_map_output().
int GNUNET_NAT_MiniHandle::is_tcp |
Are we mapping TCP or UDP?
Definition at line 301 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_map_start(), GNUNET_NAT_mini_map_stop(), process_refresh_output(), and run_upnpc_r().
int GNUNET_NAT_MiniHandle::did_map |
Did we succeed with creating a mapping?
Definition at line 306 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_map_stop(), process_map_output(), and process_refresh_output().
int GNUNET_NAT_MiniHandle::found |
Did we find our mapping during refresh scan?
Definition at line 311 of file gnunet-service-nat_mini.c.
Referenced by do_refresh(), and process_refresh_output().
uint16_t GNUNET_NAT_MiniHandle::port |
Which port are we mapping?
Definition at line 316 of file gnunet-service-nat_mini.c.
Referenced by process_refresh_output(), and run_upnpc_r().