GNUnet 0.21.2
GNUNET_NAT_AutoHandle Struct Reference

Handle to auto-configuration in progress. More...

Collaboration diagram for GNUNET_NAT_AutoHandle:
[legend]

Data Fields

struct GNUNET_NAT_Testtst
 Handle to the active NAT test. More...
 
GNUNET_NAT_AutoResultCallback fin_cb
 Function to call when done. More...
 
void * fin_cb_cls
 Closure for fin_cb. More...
 
struct GNUNET_NAT_ExternalHandleeh
 Handle for active 'GNUNET_NAT_mini_get_external_ipv4'-operation. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 Current configuration (with updates from previous phases) More...
 
struct GNUNET_CONFIGURATION_Handleinitial_cfg
 Original configuration (used to calculate differences) More...
 
struct GNUNET_SCHEDULER_Tasktask
 Task identifier for the timeout. More...
 
struct GNUNET_MQ_Handlemq
 Message queue to the gnunet-nat-server. More...
 
enum AutoPhase phase
 Where are we in the test? More...
 
enum GNUNET_NAT_Type type
 Situation of the NAT. More...
 
int have_v6
 Do we have IPv6? More...
 
int upnp_set_external_address
 UPnP already set the external ip address ? More...
 
int connected_back
 Did the external server connected back ? More...
 
char * stun_ip
 Address detected by STUN. More...
 
unsigned int stun_port
 
int internal_ip_is_public
 Internal IP is the same as the public one ? More...
 
enum GNUNET_NAT_StatusCode ret
 Error code for better debugging and user feedback. More...
 

Detailed Description

Handle to auto-configuration in progress.

Definition at line 99 of file gnunet-service-nat-auto_legacy.c.

Field Documentation

◆ tst

struct GNUNET_NAT_Test* GNUNET_NAT_AutoHandle::tst

Handle to the active NAT test.

Definition at line 104 of file gnunet-service-nat-auto_legacy.c.

◆ fin_cb

GNUNET_NAT_AutoResultCallback GNUNET_NAT_AutoHandle::fin_cb

Function to call when done.

Definition at line 109 of file gnunet-service-nat-auto_legacy.c.

◆ fin_cb_cls

void* GNUNET_NAT_AutoHandle::fin_cb_cls

Closure for fin_cb.

Definition at line 114 of file gnunet-service-nat-auto_legacy.c.

◆ eh

struct GNUNET_NAT_ExternalHandle* GNUNET_NAT_AutoHandle::eh

Handle for active 'GNUNET_NAT_mini_get_external_ipv4'-operation.

Definition at line 119 of file gnunet-service-nat-auto_legacy.c.

◆ cfg

struct GNUNET_CONFIGURATION_Handle* GNUNET_NAT_AutoHandle::cfg

Current configuration (with updates from previous phases)

Definition at line 124 of file gnunet-service-nat-auto_legacy.c.

◆ initial_cfg

struct GNUNET_CONFIGURATION_Handle* GNUNET_NAT_AutoHandle::initial_cfg

Original configuration (used to calculate differences)

Definition at line 129 of file gnunet-service-nat-auto_legacy.c.

◆ task

struct GNUNET_SCHEDULER_Task* GNUNET_NAT_AutoHandle::task

Task identifier for the timeout.

Definition at line 134 of file gnunet-service-nat-auto_legacy.c.

◆ mq

struct GNUNET_MQ_Handle* GNUNET_NAT_AutoHandle::mq

Message queue to the gnunet-nat-server.

Definition at line 139 of file gnunet-service-nat-auto_legacy.c.

◆ phase

enum AutoPhase GNUNET_NAT_AutoHandle::phase

Where are we in the test?

Definition at line 144 of file gnunet-service-nat-auto_legacy.c.

◆ type

enum GNUNET_NAT_Type GNUNET_NAT_AutoHandle::type

Situation of the NAT.

Definition at line 149 of file gnunet-service-nat-auto_legacy.c.

◆ have_v6

int GNUNET_NAT_AutoHandle::have_v6

Do we have IPv6?

Definition at line 154 of file gnunet-service-nat-auto_legacy.c.

◆ upnp_set_external_address

int GNUNET_NAT_AutoHandle::upnp_set_external_address

UPnP already set the external ip address ?

Definition at line 159 of file gnunet-service-nat-auto_legacy.c.

◆ connected_back

int GNUNET_NAT_AutoHandle::connected_back

Did the external server connected back ?

Definition at line 164 of file gnunet-service-nat-auto_legacy.c.

◆ stun_ip

char* GNUNET_NAT_AutoHandle::stun_ip

Address detected by STUN.

Definition at line 169 of file gnunet-service-nat-auto_legacy.c.

◆ stun_port

unsigned int GNUNET_NAT_AutoHandle::stun_port

Definition at line 171 of file gnunet-service-nat-auto_legacy.c.

◆ internal_ip_is_public

int GNUNET_NAT_AutoHandle::internal_ip_is_public

Internal IP is the same as the public one ?

Definition at line 176 of file gnunet-service-nat-auto_legacy.c.

◆ ret

enum GNUNET_NAT_StatusCode GNUNET_NAT_AutoHandle::ret

Error code for better debugging and user feedback.

Definition at line 181 of file gnunet-service-nat-auto_legacy.c.


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