GNUnet  0.11.x
Data Fields
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 identfies it within its tunnel, in network byte order. More...
 

Detailed Description

Number identifying a CADET channel within a tunnel.

Definition at line 82 of file gnunet_cadet_service.h.

Field Documentation

◆ cn

uint32_t GNUNET_CADET_ChannelTunnelNumber::cn

Which number does this channel have that uniquely identfies 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 93 of file gnunet_cadet_service.h.

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


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