GNUnet  0.11.x
Data Fields
StunExternalIP Struct Reference

External IP address as given to us via some STUN server. More...

Collaboration diagram for StunExternalIP:
[legend]

Data Fields

struct StunExternalIPnext
 Kept in a DLL. More...
 
struct StunExternalIPprev
 Kept in a DLL. More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Task we run to remove this entry when it is stale. More...
 
struct sockaddr_in external_addr
 Our external IP address as reported by the STUN server. More...
 
struct sockaddr_storage stun_server_addr
 Address of the reporting STUN server. More...
 
size_t stun_server_addr_len
 Number of bytes used in stun_server_addr. More...
 

Detailed Description

External IP address as given to us via some STUN server.

Definition at line 240 of file gnunet-service-nat.c.

Field Documentation

◆ next

struct StunExternalIP* StunExternalIP::next

Kept in a DLL.

Definition at line 245 of file gnunet-service-nat.c.

Referenced by handle_stun().

◆ prev

struct StunExternalIP* StunExternalIP::prev

Kept in a DLL.

Definition at line 250 of file gnunet-service-nat.c.

◆ timeout_task

struct GNUNET_SCHEDULER_Task* StunExternalIP::timeout_task

Task we run to remove this entry when it is stale.

Definition at line 255 of file gnunet-service-nat.c.

Referenced by handle_stun(), shutdown_task(), and stun_ip_timeout().

◆ external_addr

struct sockaddr_in StunExternalIP::external_addr

Our external IP address as reported by the STUN server.

Definition at line 261 of file gnunet-service-nat.c.

Referenced by handle_stun(), and stun_ip_timeout().

◆ stun_server_addr

struct sockaddr_storage StunExternalIP::stun_server_addr

Address of the reporting STUN server.

Used to detect when a STUN server changes its opinion to more quickly remove stale results.

Definition at line 268 of file gnunet-service-nat.c.

Referenced by handle_stun().

◆ stun_server_addr_len

size_t StunExternalIP::stun_server_addr_len

Number of bytes used in stun_server_addr.

Definition at line 273 of file gnunet-service-nat.c.

Referenced by handle_stun().


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