GNUnet 0.22.2
GNUNET_CADET_ChannelTunnelNumber Struct Reference

Number identifying a CADET channel within a tunnel. More...

#include <gnunet_cadet_service.h>

Data Fields

uint32_t cn
 Which number does this channel have that uniquely identifies it within its tunnel, in network byte order. More...
 

Detailed Description

Number identifying a CADET channel within a tunnel.

Definition at line 85 of file gnunet_cadet_service.h.

Field Documentation

◆ cn

uint32_t GNUNET_CADET_ChannelTunnelNumber::cn

Which number does this channel have that uniquely identifies it within its tunnel, in network byte order.

Given two peers, both may initiate channels over the same tunnel. The cn must be greater or equal to 0x80000000 (high-bit set) for tunnels initiated with the peer that has the larger peer identity as compared using GNUNET_memcmp().

Definition at line 96 of file gnunet_cadet_service.h.

Referenced by GCT_add_channel(), GCT_remove_channel(), GCT_send_channel_destroy(), handle_plaintext_channel_destroy(), handle_plaintext_channel_open(), handle_plaintext_channel_open_ack(), handle_plaintext_data_ack(), and lookup_channel().


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