GNUnet  0.11.x
Data Fields
GNUNET_NAT_Handle Struct Reference

Handle for active NAT registrations. More...

Collaboration diagram for GNUNET_NAT_Handle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration we use. More...
 
struct GNUNET_MQ_Handlemq
 Message queue for communicating with the NAT service. More...
 
struct GNUNET_MessageHeaderreg
 Our registration message. More...
 
struct AddrEntryae_head
 Head of address DLL. More...
 
struct AddrEntryae_tail
 Tail of address DLL. More...
 
GNUNET_NAT_AddressCallback address_callback
 Function to call when our addresses change. More...
 
GNUNET_NAT_ReversalCallback reversal_callback
 Function to call when another peer requests connection reversal. More...
 
void * callback_cls
 Closure for the various callbacks. More...
 
struct GNUNET_SCHEDULER_Taskreconnect_task
 Task scheduled to reconnect to the service. More...
 
struct GNUNET_TIME_Relative reconnect_delay
 How long to wait until we reconnect. More...
 

Detailed Description

Handle for active NAT registrations.

Definition at line 71 of file nat_api.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_NAT_Handle::cfg

Configuration we use.

Definition at line 76 of file nat_api.c.

Referenced by do_connect(), and GNUNET_NAT_register().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_NAT_Handle::mq

Message queue for communicating with the NAT service.

Definition at line 81 of file nat_api.c.

Referenced by do_connect(), GNUNET_NAT_request_reversal(), GNUNET_NAT_stun_handle_packet(), GNUNET_NAT_unregister(), and reconnect().

◆ reg

struct GNUNET_MessageHeader* GNUNET_NAT_Handle::reg

Our registration message.

Definition at line 86 of file nat_api.c.

Referenced by do_connect(), GNUNET_NAT_register(), and GNUNET_NAT_unregister().

◆ ae_head

struct AddrEntry* GNUNET_NAT_Handle::ae_head

Head of address DLL.

Definition at line 91 of file nat_api.c.

Referenced by GNUNET_NAT_test_address(), handle_address_change_notification(), and reconnect().

◆ ae_tail

struct AddrEntry* GNUNET_NAT_Handle::ae_tail

Tail of address DLL.

Definition at line 96 of file nat_api.c.

Referenced by handle_address_change_notification(), and reconnect().

◆ address_callback

GNUNET_NAT_AddressCallback GNUNET_NAT_Handle::address_callback

Function to call when our addresses change.

Definition at line 101 of file nat_api.c.

Referenced by GNUNET_NAT_register(), handle_address_change_notification(), and reconnect().

◆ reversal_callback

GNUNET_NAT_ReversalCallback GNUNET_NAT_Handle::reversal_callback

Function to call when another peer requests connection reversal.

Definition at line 106 of file nat_api.c.

Referenced by GNUNET_NAT_register(), and handle_connection_reversal_request().

◆ callback_cls

void* GNUNET_NAT_Handle::callback_cls

Closure for the various callbacks.

Definition at line 111 of file nat_api.c.

Referenced by GNUNET_NAT_register(), handle_address_change_notification(), handle_connection_reversal_request(), and reconnect().

◆ reconnect_task

struct GNUNET_SCHEDULER_Task* GNUNET_NAT_Handle::reconnect_task

Task scheduled to reconnect to the service.

Definition at line 116 of file nat_api.c.

Referenced by do_connect(), GNUNET_NAT_unregister(), and reconnect().

◆ reconnect_delay

struct GNUNET_TIME_Relative GNUNET_NAT_Handle::reconnect_delay

How long to wait until we reconnect.

Definition at line 121 of file nat_api.c.

Referenced by reconnect().


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