GNUnet  0.19.5
NeighbourAddress Struct Reference

A possible address we could use to communicate with a neighbour. More...

Collaboration diagram for NeighbourAddress:
[legend]

Data Fields

struct GNUNET_ATS_Sessionsession
 Active session for this address. More...
 
struct GNUNET_HELLO_Addressaddress
 Network-level address information. More...
 
struct GNUNET_TIME_Absolute connect_timestamp
 Timestamp of the 'SESSION_CONNECT' message we sent to the other peer for this address. More...
 
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in
 Inbound bandwidth from ATS for this address. More...
 
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out
 Outbound bandwidth from ATS for this address. More...
 
int ats_active
 Did we tell ATS that this is our 'active' address? More...
 
uint32_t keep_alive_nonce
 The current nonce sent in the last keep alive messages. More...
 

Detailed Description

A possible address we could use to communicate with a neighbour.

Definition at line 278 of file gnunet-service-transport_neighbours.c.

Field Documentation

◆ session

◆ address

◆ connect_timestamp

struct GNUNET_TIME_Absolute NeighbourAddress::connect_timestamp

Timestamp of the 'SESSION_CONNECT' message we sent to the other peer for this address.

Use to check that the ACK is in response to our most recent 'SYN'.

Definition at line 288 of file gnunet-service-transport_neighbours.c.

Referenced by GST_neighbours_handle_session_syn_ack(), and send_syn().

◆ bandwidth_in

◆ bandwidth_out

◆ ats_active

int NeighbourAddress::ats_active

Did we tell ATS that this is our 'active' address?

Definition at line 310 of file gnunet-service-transport_neighbours.c.

Referenced by free_address(), GST_neighbours_handle_session_syn_ack(), and send_with_session().

◆ keep_alive_nonce

uint32_t NeighbourAddress::keep_alive_nonce

The current nonce sent in the last keep alive messages.

Definition at line 315 of file gnunet-service-transport_neighbours.c.

Referenced by free_address(), GST_neighbours_calculate_receive_delay(), send_keepalive(), send_with_session(), and set_primary_address().


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