GNUnet  0.11.x
Data Fields
TransportSynMessage Struct Reference

Message a peer sends to another to indicate that it intends to setup a connection/session for data exchange. More...

Collaboration diagram for TransportSynMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Header of type GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_SYN or GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_SYN_ACK. More...
 
uint32_t reserved
 Always zero. More...
 
struct GNUNET_TIME_AbsoluteNBO timestamp
 Absolute time at the sender. More...
 

Detailed Description

Message a peer sends to another to indicate that it intends to setup a connection/session for data exchange.

A 'SESSION_SYN' should be answered with a 'SESSION_SYN_ACK' with the same body to confirm. A 'SESSION_SYN_ACK' should then be followed with a 'ACK'. Once the 'ACK' is received, both peers should be connected.

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

Field Documentation

◆ header

struct GNUNET_MessageHeader TransportSynMessage::header

◆ reserved

uint32_t TransportSynMessage::reserved

◆ timestamp

struct GNUNET_TIME_AbsoluteNBO TransportSynMessage::timestamp

Absolute time at the sender.

Only the most recent connect message implies which session is preferred by the sender.

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

Referenced by GST_neighbours_handle_session_syn(), GST_neighbours_handle_session_syn_ack(), send_syn(), and send_syn_ack_message().


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