GNUnet  0.11.x
Data Fields
GNUNET_ATS_SessionDisconnectMessage Struct Reference

Message we send to the other peer to notify it that we intentionally are disconnecting (to reduce timeouts). More...

Collaboration diagram for GNUNET_ATS_SessionDisconnectMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Header of type GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT. More...
 
uint32_t reserved
 Always zero. More...
 
struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 Purpose of the signature. More...
 
struct GNUNET_TIME_AbsoluteNBO timestamp
 Absolute time at the sender. More...
 
struct GNUNET_CRYPTO_EddsaPublicKey public_key
 Public key of the sender. More...
 
struct GNUNET_CRYPTO_EddsaSignature signature
 Signature of the peer that sends us the disconnect. More...
 

Detailed Description

Message we send to the other peer to notify it that we intentionally are disconnecting (to reduce timeouts).

This is just a friendly notification, peers must not rely on always receiving disconnect messages.

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

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_ATS_SessionDisconnectMessage::header

◆ reserved

uint32_t GNUNET_ATS_SessionDisconnectMessage::reserved

Always zero.

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

Referenced by send_disconnect().

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose GNUNET_ATS_SessionDisconnectMessage::purpose

Purpose of the signature.

Extends over the timestamp. Purpose should be GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT.

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

Referenced by GST_neighbours_handle_disconnect_message(), and send_disconnect().

◆ timestamp

struct GNUNET_TIME_AbsoluteNBO GNUNET_ATS_SessionDisconnectMessage::timestamp

Absolute time at the sender.

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

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

Referenced by GST_neighbours_handle_disconnect_message(), and send_disconnect().

◆ public_key

struct GNUNET_CRYPTO_EddsaPublicKey GNUNET_ATS_SessionDisconnectMessage::public_key

Public key of the sender.

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

Referenced by GST_neighbours_handle_disconnect_message(), and send_disconnect().

◆ signature

struct GNUNET_CRYPTO_EddsaSignature GNUNET_ATS_SessionDisconnectMessage::signature

Signature of the peer that sends us the disconnect.

Only valid if the timestamp is AFTER the timestamp from the corresponding 'SYN' message.

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

Referenced by GST_neighbours_handle_disconnect_message(), and send_disconnect().


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