GNUnet 0.22.2
GNUNET_CADET_ConnectionCreateMessage Struct Reference

Message for cadet connection creation. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/cadet/cadet_protocol.h>

Collaboration diagram for GNUNET_CADET_ConnectionCreateMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE. More...
 
uint32_t options
 Connection options in network byte order. More...
 
int has_monotime
 This flag indicates the peer sending the connection create message likes to trigger a KX handshake. More...
 
struct GNUNET_TIME_AbsoluteNBO monotime
 This monotonic time is set, if a peer likes to trigger a KX, but is not the peer that should start the KX. More...
 
struct GNUNET_CRYPTO_EddsaSignature monotime_sig
 We sign the monotime. More...
 
struct GNUNET_CADET_ConnectionTunnelIdentifier cid
 ID of the connection. More...
 

Detailed Description

Message for cadet connection creation.

Definition at line 69 of file cadet_protocol.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_CADET_ConnectionCreateMessage::header

Type: GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE.

Size: sizeof (struct GNUNET_CADET_ConnectionCreateMessage) + path_length * sizeof (struct GNUNET_PeerIdentity)

Definition at line 77 of file cadet_protocol.h.

◆ options

uint32_t GNUNET_CADET_ConnectionCreateMessage::options

Connection options in network byte order.

#GNUNET_CADET_OPTION_DEFAULT for buffered; #GNUNET_CADET_OPTION_NOBUFFER for unbuffered. Other flags are ignored and should not be set at this level.

Definition at line 85 of file cadet_protocol.h.

Referenced by send_create().

◆ has_monotime

int GNUNET_CADET_ConnectionCreateMessage::has_monotime

This flag indicates the peer sending the connection create message likes to trigger a KX handshake.

Definition at line 91 of file cadet_protocol.h.

Referenced by send_create().

◆ monotime

struct GNUNET_TIME_AbsoluteNBO GNUNET_CADET_ConnectionCreateMessage::monotime

This monotonic time is set, if a peer likes to trigger a KX, but is not the peer that should start the KX.

(xrs,t3ss)

Definition at line 97 of file cadet_protocol.h.

Referenced by send_create().

◆ monotime_sig

struct GNUNET_CRYPTO_EddsaSignature GNUNET_CADET_ConnectionCreateMessage::monotime_sig

We sign the monotime.

The receiving peer can check the signature, to verify the sending peer.

Definition at line 103 of file cadet_protocol.h.

◆ cid

struct GNUNET_CADET_ConnectionTunnelIdentifier GNUNET_CADET_ConnectionCreateMessage::cid

ID of the connection.

Definition at line 108 of file cadet_protocol.h.

Referenced by send_create().


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