GNUnet 0.22.0
AutoconfigContext Struct Reference

Context for autoconfiguration operations. More...

Collaboration diagram for AutoconfigContext:
[legend]

Data Fields

struct AutoconfigContextprev
 Kept in a DLL. More...
 
struct AutoconfigContextnext
 Kept in a DLL. More...
 
struct ClientHandlech
 Which client asked the question. More...
 
struct GNUNET_CONFIGURATION_Handlec
 Configuration we are creating. More...
 
struct GNUNET_CONFIGURATION_Handleorig
 Original configuration (for diffing). More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Timeout task to force termination. More...
 
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. More...
 
enum GNUNET_NAT_StatusCode status_code
 Status code to return to the client. More...
 
enum GNUNET_NAT_Type type
 NAT type to return to the client. More...
 

Detailed Description

Context for autoconfiguration operations.

Definition at line 79 of file gnunet-service-nat-auto.c.

Field Documentation

◆ prev

struct AutoconfigContext* AutoconfigContext::prev

Kept in a DLL.

Definition at line 84 of file gnunet-service-nat-auto.c.

◆ next

struct AutoconfigContext* AutoconfigContext::next

Kept in a DLL.

Definition at line 89 of file gnunet-service-nat-auto.c.

◆ ch

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().

◆ c

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().

◆ orig

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().

◆ timeout_task

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().

◆ enable_upnpc

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().

◆ status_code

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().

◆ type

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().


The documentation for this struct was generated from the following file: