GNUnet 0.22.2
cadet_protocol.h File Reference

P2P messages used by CADET. More...

#include "platform.h"
#include "gnunet_util_lib.h"
#include "cadet.h"
Include dependency graph for cadet_protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GNUNET_CADET_ConnectionCreateMessage
 Message for cadet connection creation. More...
 
struct  GNUNET_CADET_ConnectionCreateAckMessage
 Message for ack'ing a connection. More...
 
struct  GNUNET_CADET_ConnectionBrokenMessage
 Message for notifying a disconnection in a path. More...
 
struct  GNUNET_CADET_ConnectionDestroyMessage
 Message to destroy a connection. More...
 
struct  CadetEncryptedMessageIdentifier
 Unique identifier (counter) for an encrypted message in a channel. More...
 
struct  GNUNET_CADET_TunnelKeyExchangeMessage
 Message for a Key eXchange for a tunnel. More...
 
struct  GNUNET_CADET_TunnelKeyExchangeAuthMessage
 Message for a Key eXchange for a tunnel, with authentication. More...
 
struct  GNUNET_CADET_AxHeader
 Encrypted axolotl header with numbers that identify which keys in which ratchet are to be used to decrypt the body. More...
 
struct  GNUNET_CADET_TunnelEncryptedMessage
 Axolotl-encrypted tunnel message with application payload. More...
 
struct  GNUNET_CADET_ChannelOpenMessage
 Message to create a Channel. More...
 
struct  GNUNET_CADET_ChannelOpenAckMessage
 Message to acknowledge opening a channel of type GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_ACK. More...
 
struct  GNUNET_CADET_ChannelDestroyMessage
 Message to destroy a channel of type GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY. More...
 
struct  ChannelMessageIdentifier
 Number used to uniquely identify messages in a CADET Channel. More...
 
struct  GNUNET_CADET_ChannelAppDataMessage
 Message for cadet data traffic. More...
 
struct  GNUNET_CADET_ChannelDataAckMessage
 Message to acknowledge end-to-end data. More...
 

Macros

#define DEBUG_KX   0
 At best, enable when debugging #5328! More...
 

Enumerations

enum  GNUNET_CADET_KX_Flags { GNUNET_CADET_KX_FLAG_NONE = 0 , GNUNET_CADET_KX_FLAG_FORCE_REPLY = 1 }
 Flags to be used in GNUNET_CADET_KX. More...
 

Detailed Description

P2P messages used by CADET.

Author
Bartlomiej Polot
Christian Grothoff

Definition in file cadet_protocol.h.

Macro Definition Documentation

◆ DEBUG_KX

#define DEBUG_KX   0

At best, enable when debugging #5328!

Definition at line 34 of file cadet_protocol.h.

Enumeration Type Documentation

◆ GNUNET_CADET_KX_Flags

Flags to be used in GNUNET_CADET_KX.

Enumerator
GNUNET_CADET_KX_FLAG_NONE 

Should the peer reply with its KX details?

GNUNET_CADET_KX_FLAG_FORCE_REPLY 

The peer should reply with its KX details?

Definition at line 218 of file cadet_protocol.h.

219{
224
229};
@ GNUNET_CADET_KX_FLAG_NONE
Should the peer reply with its KX details?
@ GNUNET_CADET_KX_FLAG_FORCE_REPLY
The peer should reply with its KX details?