Opaque handle to a channel. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/cadet/cadet.h>
Data Fields | |
struct GNUNET_PeerIdentity | peer |
Other end of the channel. More... | |
struct GNUNET_CADET_Handle * | cadet |
Handle to the cadet this channel belongs to. More... | |
struct GNUNET_CADET_Port * | incoming_port |
Channel's port, if incoming. More... | |
void * | ctx |
Any data the caller wants to put in here, used for the various callbacks (disconnects, window_changes, handlers). More... | |
struct GNUNET_MQ_Handle * | mq |
Message Queue for the channel (which we are implementing). More... | |
struct GNUNET_SCHEDULER_Task * | mq_cont |
Task to allow mq to send more traffic. More... | |
struct GNUNET_MQ_Envelope * | pending_env |
Pending envelope with a message to be transmitted to the service as soon as we are allowed to. More... | |
GNUNET_CADET_WindowSizeEventHandler | window_changes |
Window change handler. More... | |
GNUNET_CADET_DisconnectEventHandler | disconnects |
Disconnect handler. More... | |
struct GNUNET_CADET_ClientChannelNumber | ccn |
Local ID of the channel, GNUNET_CADET_LOCAL_CHANNEL_ID_CLI bit is set if outbound. More... | |
unsigned int | allow_send |
How many messages are we allowed to send to the service right now? More... | |
struct GNUNET_PeerIdentity GNUNET_CADET_Channel::peer |
Other end of the channel.
Definition at line 121 of file cadet.h.
Referenced by cadet_mq_send_now(), GNUNET_CADET_channel_create(), GNUNET_CADET_channel_get_info(), handle_channel_created(), handle_local_ack(), and handle_local_data().
struct GNUNET_CADET_Handle* GNUNET_CADET_Channel::cadet |
Handle to the cadet this channel belongs to.
Definition at line 126 of file cadet.h.
Referenced by cadet_mq_send_impl(), cadet_mq_send_now(), create_channel(), destroy_channel(), GNUNET_CADET_channel_destroy(), and GNUNET_CADET_receive_done().
struct GNUNET_CADET_Port* GNUNET_CADET_Channel::incoming_port |
Channel's port, if incoming.
Definition at line 131 of file cadet.h.
Referenced by handle_channel_created().
void* GNUNET_CADET_Channel::ctx |
Any data the caller wants to put in here, used for the various callbacks (disconnects, window_changes, handlers).
Definition at line 137 of file cadet.h.
Referenced by cadet_mq_error_handler(), destroy_channel(), GNUNET_CADET_channel_create(), handle_channel_created(), and notify_window_size().
struct GNUNET_MQ_Handle* GNUNET_CADET_Channel::mq |
Message Queue for the channel (which we are implementing).
Definition at line 142 of file cadet.h.
Referenced by cadet_mq_destroy_impl(), cadet_mq_send_now(), client_connect_cb(), conclude_autoconfig_request(), destroy_channel(), disconnect(), force_reconnect(), GNUNET_CADET_channel_create(), GNUNET_CADET_get_mq(), GNUNET_TRANSPORT_application_done(), GNUNET_TRANSPORT_application_suggest(), GNUNET_TRANSPORT_application_suggest_cancel(), GNUNET_TRANSPORT_application_validate(), GNUNET_TRANSPORT_communicator_burst_finished(), GNUNET_TRANSPORT_communicator_connect(), GNUNET_TRANSPORT_communicator_notify(), GNUNET_TRANSPORT_communicator_receive(), handle_cadet_audio_message(), handle_channel_created(), handle_client_audio_message(), handle_client_call_message(), handle_client_hangup_message(), handle_client_pickup_message(), handle_client_resume_message(), handle_client_suspend_message(), handle_create_queue(), handle_dht_local_hello_get(), handle_local_data(), inbound_channel(), notify_client(), notify_clients_stun_change(), reconnect(), reversal_callback(), send_ack(), and transmit_suggestion().
struct GNUNET_SCHEDULER_Task* GNUNET_CADET_Channel::mq_cont |
Task to allow mq to send more traffic.
Definition at line 147 of file cadet.h.
Referenced by cadet_mq_cancel_impl(), cadet_mq_send_impl(), cadet_mq_send_now(), destroy_channel(), and handle_local_ack().
struct GNUNET_MQ_Envelope* GNUNET_CADET_Channel::pending_env |
Pending envelope with a message to be transmitted to the service as soon as we are allowed to.
Should only be non-NULL if allow_send is 0.
Definition at line 154 of file cadet.h.
Referenced by cadet_mq_cancel_impl(), cadet_mq_send_impl(), cadet_mq_send_now(), destroy_channel(), and handle_local_ack().
GNUNET_CADET_WindowSizeEventHandler GNUNET_CADET_Channel::window_changes |
Window change handler.
Definition at line 159 of file cadet.h.
Referenced by GNUNET_CADET_channel_create(), handle_channel_created(), and notify_window_size().
GNUNET_CADET_DisconnectEventHandler GNUNET_CADET_Channel::disconnects |
Disconnect handler.
Definition at line 164 of file cadet.h.
Referenced by cadet_mq_error_handler(), destroy_channel(), GNUNET_CADET_channel_create(), GNUNET_CADET_channel_destroy(), and handle_channel_created().
struct GNUNET_CADET_ClientChannelNumber GNUNET_CADET_Channel::ccn |
Local ID of the channel, GNUNET_CADET_LOCAL_CHANNEL_ID_CLI bit is set if outbound.
Definition at line 169 of file cadet.h.
Referenced by cadet_mq_send_impl(), create_channel(), destroy_channel(), find_channel(), GCCH_2s(), GCCH_channel_local_destroy(), GCCH_debug(), GCCH_handle_channel_plaintext_data(), GCCH_handle_local_ack(), GCCH_handle_local_data(), GNUNET_CADET_channel_create(), GNUNET_CADET_channel_destroy(), GNUNET_CADET_receive_done(), handle_local_ack(), and handle_local_data().
unsigned int GNUNET_CADET_Channel::allow_send |
How many messages are we allowed to send to the service right now?
Definition at line 174 of file cadet.h.
Referenced by cadet_mq_send_impl(), cadet_mq_send_now(), handle_local_ack(), and notify_window_size().