GNUnet 0.21.1
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 ClientStatecstate
 Connection for which we are probing. More...
 
socklen_t addrlen
 Length of addr. More...
 
struct GNUNET_SCHEDULER_Tasktask
 Task waiting for the connection to finish connecting. More...
 

Detailed Description

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

Definition at line 59 of file client.c.

Field Documentation

◆ next

struct AddressProbe* AddressProbe::next

This is a linked list.

Definition at line 64 of file client.c.

◆ prev

struct AddressProbe* AddressProbe::prev

This is a doubly-linked list.

Definition at line 69 of file client.c.

◆ addr

const struct sockaddr* AddressProbe::addr

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

Definition at line 74 of file client.c.

Referenced by try_connect_using_address().

◆ sock

struct GNUNET_NETWORK_Handle* AddressProbe::sock

Underlying OS's socket.

Definition at line 79 of file client.c.

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

◆ cstate

struct ClientState* AddressProbe::cstate

Connection for which we are probing.

Definition at line 84 of file client.c.

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

◆ addrlen

socklen_t AddressProbe::addrlen

Length of addr.

Definition at line 89 of file client.c.

Referenced by try_connect_using_address().

◆ task

struct GNUNET_SCHEDULER_Task* AddressProbe::task

Task waiting for the connection to finish connecting.

Definition at line 94 of file client.c.

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


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