Client endpoint of a struct CadetChannel
.
More...
Data Fields | |
struct CadetClient * | c |
Client handle. More... | |
struct CadetOutOfOrderMessage * | head_recv |
Head of DLL of messages received out of order or while client was unready. More... | |
struct CadetOutOfOrderMessage * | tail_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... | |
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.
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().
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().
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().
struct GNUNET_CADET_ClientChannelNumber CadetChannelClient::ccn |
Local tunnel number for this client.
(if owner >= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI, otherwise < GNUNET_CADET_LOCAL_CHANNEL_ID_CLI)
Definition at line 231 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().
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().
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().