Context for autoconfiguration operations. More...
Data Fields | |
| struct AutoconfigContext * | prev |
| Kept in a DLL. | |
| struct AutoconfigContext * | next |
| Kept in a DLL. | |
| struct ClientHandle * | ch |
| Which client asked the question. | |
| struct GNUNET_CONFIGURATION_Handle * | c |
| Configuration we are creating. | |
| struct GNUNET_CONFIGURATION_Handle * | orig |
| Original configuration (for diffing). | |
| struct GNUNET_SCHEDULER_Task * | timeout_task |
| Timeout task to force termination. | |
| int | enable_upnpc |
| GNUNET_YES if upnpc should be used, GNUNET_NO if upnpc should not be used, GNUNET_SYSERR if we should simply not change the option. | |
| enum GNUNET_NAT_StatusCode | status_code |
| Status code to return to the client. | |
| enum GNUNET_NAT_Type | type |
| NAT type to return to the client. | |
Context for autoconfiguration operations.
Definition at line 79 of file gnunet-service-nat-auto.c.
| struct AutoconfigContext* AutoconfigContext::prev |
Kept in a DLL.
Definition at line 84 of file gnunet-service-nat-auto.c.
| struct AutoconfigContext* AutoconfigContext::next |
Kept in a DLL.
Definition at line 89 of file gnunet-service-nat-auto.c.
| struct ClientHandle* AutoconfigContext::ch |
Which client asked the question.
Definition at line 94 of file gnunet-service-nat-auto.c.
Referenced by conclude_autoconfig_request(), and handle_autoconfig_request().
| struct GNUNET_CONFIGURATION_Handle* AutoconfigContext::c |
Configuration we are creating.
Definition at line 99 of file gnunet-service-nat-auto.c.
Referenced by conclude_autoconfig_request(), handle_autoconfig_request(), run(), and update_enable_upnpc_option().
| struct GNUNET_CONFIGURATION_Handle* AutoconfigContext::orig |
Original configuration (for diffing).
Definition at line 104 of file gnunet-service-nat-auto.c.
Referenced by conclude_autoconfig_request(), and handle_autoconfig_request().
| struct GNUNET_SCHEDULER_Task* AutoconfigContext::timeout_task |
Timeout task to force termination.
Definition at line 109 of file gnunet-service-nat-auto.c.
Referenced by check_autoconfig_finished(), conclude_autoconfig_request(), handle_autoconfig_request(), and terminate_ac_activities().
| int AutoconfigContext::enable_upnpc |
GNUNET_YES if upnpc should be used, GNUNET_NO if upnpc should not be used, GNUNET_SYSERR if we should simply not change the option.
Definition at line 116 of file gnunet-service-nat-auto.c.
Referenced by handle_autoconfig_request(), and update_enable_upnpc_option().
| enum GNUNET_NAT_StatusCode AutoconfigContext::status_code |
Status code to return to the client.
Definition at line 121 of file gnunet-service-nat-auto.c.
Referenced by conclude_autoconfig_request(), and handle_autoconfig_request().
| enum GNUNET_NAT_Type AutoconfigContext::type |
NAT type to return to the client.
Definition at line 126 of file gnunet-service-nat-auto.c.
Referenced by conclude_autoconfig_request().