GNUnet 0.21.1
CadetChannelClient Struct Reference

Client endpoint of a struct CadetChannel. More...

Collaboration diagram for CadetChannelClient:
[legend]

Data Fields

struct CadetClientc
 Client handle. More...
 
struct CadetOutOfOrderMessagehead_recv
 Head of DLL of messages received out of order or while client was unready. More...
 
struct CadetOutOfOrderMessagetail_recv
 Tail DLL of messages received out of order or while client was unready. More...
 
struct GNUNET_CADET_ClientChannelNumber ccn
 Local tunnel number for this client. More...
 
unsigned int num_recv
 Number of entries currently in head_recv DLL. More...
 
int client_ready
 Can we send data to the client? More...
 

Detailed Description

Client endpoint of a struct CadetChannel.

A channel may be a loopback channel, in which case it has two of these endpoints. Note that flow control also is required in both directions.

Definition at line 206 of file gnunet-service-cadet_channel.c.

Field Documentation

◆ c

struct CadetClient* CadetChannelClient::c

Client handle.

Not by itself sufficient to designate the client endpoint, as the same client handle may be used for both the owner and the destination, and we thus also need the channel ID to identify the client.

Definition at line 214 of file gnunet-service-cadet_channel.c.

Referenced by GCCH_bind(), GCCH_channel_local_destroy(), GCCH_channel_local_new(), GCCH_handle_channel_plaintext_data(), GCCH_handle_local_ack(), GCCH_handle_remote_destroy(), send_ack_to_client(), and signal_remote_destroy_cb().

◆ head_recv

struct CadetOutOfOrderMessage* CadetChannelClient::head_recv

Head of DLL of messages received out of order or while client was unready.

Definition at line 219 of file gnunet-service-cadet_channel.c.

Referenced by free_channel_client(), GCCH_handle_channel_plaintext_data(), GCCH_handle_local_ack(), and GCCH_handle_remote_destroy().

◆ tail_recv

struct CadetOutOfOrderMessage* CadetChannelClient::tail_recv

Tail DLL of messages received out of order or while client was unready.

Definition at line 224 of file gnunet-service-cadet_channel.c.

Referenced by free_channel_client(), GCCH_handle_channel_plaintext_data(), and GCCH_handle_local_ack().

◆ ccn

◆ num_recv

unsigned int CadetChannelClient::num_recv

Number of entries currently in head_recv DLL.

Definition at line 236 of file gnunet-service-cadet_channel.c.

Referenced by free_channel_client(), GCCH_handle_channel_plaintext_data(), and GCCH_handle_local_ack().

◆ client_ready

int CadetChannelClient::client_ready

Can we send data to the client?

Definition at line 241 of file gnunet-service-cadet_channel.c.

Referenced by GCCH_bind(), GCCH_channel_local_new(), GCCH_handle_channel_plaintext_data(), and GCCH_handle_local_ack().


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