GNUnet 0.22.2
HelperContext Struct Reference

Information we keep per NAT helper process. More...

Collaboration diagram for HelperContext:
[legend]

Data Fields

struct in_addr internal_address
 IP address we pass to the NAT helper. More...
 
GN_ReversalCallback cb
 Function to call if we receive a reversal request. More...
 
void * cb_cls
 Closure for cb. More...
 
struct GNUNET_TIME_Relative server_retry_delay
 How long do we wait for restarting a crashed gnunet-helper-nat-server? More...
 
struct GNUNET_SCHEDULER_Taskserver_read_task
 ID of select gnunet-helper-nat-server stdout read task. More...
 
struct GNUNET_OS_Processserver_proc
 The process id of the server process (if behind NAT) More...
 
struct GNUNET_DISK_PipeHandleserver_stdout
 stdout pipe handle for the gnunet-helper-nat-server process More...
 
const struct GNUNET_DISK_FileHandleserver_stdout_handle
 stdout file handle (for reading) for the gnunet-helper-nat-server process More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Handle to the GNUnet configuration. More...
 

Detailed Description

Information we keep per NAT helper process.

Definition at line 35 of file gnunet-service-nat_helper.c.

Field Documentation

◆ internal_address

struct in_addr HelperContext::internal_address

IP address we pass to the NAT helper.

Definition at line 40 of file gnunet-service-nat_helper.c.

Referenced by GN_start_gnunet_nat_server_().

◆ cb

GN_ReversalCallback HelperContext::cb

Function to call if we receive a reversal request.

Definition at line 45 of file gnunet-service-nat_helper.c.

Referenced by GN_start_gnunet_nat_server_().

◆ cb_cls

void* HelperContext::cb_cls

Closure for cb.

Definition at line 50 of file gnunet-service-nat_helper.c.

Referenced by GN_start_gnunet_nat_server_().

◆ server_retry_delay

struct GNUNET_TIME_Relative HelperContext::server_retry_delay

How long do we wait for restarting a crashed gnunet-helper-nat-server?

Definition at line 55 of file gnunet-service-nat_helper.c.

◆ server_read_task

struct GNUNET_SCHEDULER_Task* HelperContext::server_read_task

ID of select gnunet-helper-nat-server stdout read task.

Definition at line 60 of file gnunet-service-nat_helper.c.

◆ server_proc

struct GNUNET_OS_Process* HelperContext::server_proc

The process id of the server process (if behind NAT)

Definition at line 65 of file gnunet-service-nat_helper.c.

◆ server_stdout

struct GNUNET_DISK_PipeHandle* HelperContext::server_stdout

stdout pipe handle for the gnunet-helper-nat-server process

Definition at line 70 of file gnunet-service-nat_helper.c.

◆ server_stdout_handle

const struct GNUNET_DISK_FileHandle* HelperContext::server_stdout_handle

stdout file handle (for reading) for the gnunet-helper-nat-server process

Definition at line 75 of file gnunet-service-nat_helper.c.

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* HelperContext::cfg

Handle to the GNUnet configuration.

Definition at line 80 of file gnunet-service-nat_helper.c.


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