GNUnet  0.11.x
Data Fields
AddressProbe Struct Reference

During connect, we try multiple possible IP addresses to find out which one might work. More...

Collaboration diagram for AddressProbe:
[legend]

Data Fields

struct AddressProbenext
 This is a linked list. More...
 
struct AddressProbeprev
 This is a doubly-linked list. More...
 
const struct sockaddr * addr
 The address; do not free (allocated at the end of this struct). More...
 
struct GNUNET_NETWORK_Handlesock
 Underlying OS's socket. More...
 
struct GNUNET_CONNECTION_Handleconnection
 Connection for which we are probing. More...
 
socklen_t addrlen
 Lenth of addr. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Task waiting for the connection to finish connecting. More...
 
struct ClientStatecstate
 Connection for which we are probing. More...
 

Detailed Description

During connect, we try multiple possible IP addresses to find out which one might work.

Definition at line 95 of file tcp_connection_legacy.c.

Field Documentation

◆ next

struct AddressProbe * AddressProbe::next

This is a linked list.

Definition at line 100 of file tcp_connection_legacy.c.

◆ prev

struct AddressProbe * AddressProbe::prev

This is a doubly-linked list.

Definition at line 105 of file tcp_connection_legacy.c.

◆ addr

const struct sockaddr * AddressProbe::addr

The address; do not free (allocated at the end of this struct).

Definition at line 110 of file tcp_connection_legacy.c.

Referenced by connect_probe_continuation(), and try_connect_using_address().

◆ sock

struct GNUNET_NETWORK_Handle * AddressProbe::sock

◆ connection

struct GNUNET_CONNECTION_Handle* AddressProbe::connection

Connection for which we are probing.

Definition at line 120 of file tcp_connection_legacy.c.

Referenced by connect_probe_continuation(), and try_connect_using_address().

◆ addrlen

socklen_t AddressProbe::addrlen

Lenth of addr.

Definition at line 125 of file tcp_connection_legacy.c.

Referenced by connect_probe_continuation(), and try_connect_using_address().

◆ task

struct GNUNET_SCHEDULER_Task * AddressProbe::task

Task waiting for the connection to finish connecting.

Definition at line 130 of file tcp_connection_legacy.c.

Referenced by cancel_aps(), connect_probe_continuation(), GNUNET_CONNECTION_destroy(), and try_connect_using_address().

◆ cstate

struct ClientState* AddressProbe::cstate

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