Data kept per session. More...
Data Fields | |
const struct GNUNET_PeerIdentity * | peer |
Identity of the other peer. More... | |
struct GSC_KeyExchangeInfo * | kx |
Key exchange state for this peer. More... | |
struct GSC_ClientActiveRequest * | active_client_request_head |
Head of list of requests from clients for transmission to this peer. More... | |
struct GSC_ClientActiveRequest * | active_client_request_tail |
Tail of list of requests from clients for transmission to this peer. More... | |
struct SessionMessageEntry * | sme_head |
Head of list of messages ready for encryption. More... | |
struct SessionMessageEntry * | sme_tail |
Tail of list of messages ready for encryption. More... | |
struct GSC_TypeMap * | tmap |
Current type map for this peer. More... | |
struct GNUNET_SCHEDULER_Task * | cork_task |
Task to transmit corked messages with a delay. More... | |
struct GNUNET_SCHEDULER_Task * | typemap_task |
Task to transmit our type map. More... | |
struct GNUNET_TIME_Relative | typemap_delay |
Retransmission delay we currently use for the typemap transmissions (if not confirmed). More... | |
int | first_typemap |
Is this the first time we're sending the typemap? If so, we want to send it a bit faster the second time. More... | |
Data kept per session.
Definition at line 92 of file gnunet-service-core_sessions.c.
const struct GNUNET_PeerIdentity* Session::peer |
Identity of the other peer.
Definition at line 97 of file gnunet-service-core_sessions.c.
Referenced by do_restart_typemap_message(), find_session(), GSC_SESSIONS_confirm_typemap(), GSC_SESSIONS_create(), GSC_SESSIONS_end(), GSC_SESSIONS_reinit(), GSC_SESSIONS_set_typemap(), notify_client_about_session(), transmit_typemap_task(), and try_transmission().
struct GSC_KeyExchangeInfo* Session::kx |
Key exchange state for this peer.
Definition at line 102 of file gnunet-service-core_sessions.c.
Referenced by GSC_SESSIONS_create(), transmit_typemap_task(), and try_transmission().
struct GSC_ClientActiveRequest* Session::active_client_request_head |
Head of list of requests from clients for transmission to this peer.
Definition at line 108 of file gnunet-service-core_sessions.c.
Referenced by GSC_SESSIONS_dequeue_request(), GSC_SESSIONS_end(), GSC_SESSIONS_queue_request(), solicit_messages(), and try_transmission().
struct GSC_ClientActiveRequest* Session::active_client_request_tail |
Tail of list of requests from clients for transmission to this peer.
Definition at line 114 of file gnunet-service-core_sessions.c.
Referenced by GSC_SESSIONS_dequeue_request(), GSC_SESSIONS_end(), and GSC_SESSIONS_queue_request().
struct SessionMessageEntry* Session::sme_head |
Head of list of messages ready for encryption.
Definition at line 119 of file gnunet-service-core_sessions.c.
Referenced by do_restart_typemap_message(), GSC_SESSIONS_end(), GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), and try_transmission().
struct SessionMessageEntry* Session::sme_tail |
Tail of list of messages ready for encryption.
Definition at line 124 of file gnunet-service-core_sessions.c.
Referenced by do_restart_typemap_message(), GSC_SESSIONS_end(), GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), and try_transmission().
struct GSC_TypeMap* Session::tmap |
Current type map for this peer.
Definition at line 129 of file gnunet-service-core_sessions.c.
Referenced by GSC_SESSIONS_add_to_typemap(), GSC_SESSIONS_create(), GSC_SESSIONS_end(), GSC_SESSIONS_set_typemap(), and notify_client_about_session().
struct GNUNET_SCHEDULER_Task* Session::cork_task |
Task to transmit corked messages with a delay.
Definition at line 134 of file gnunet-service-core_sessions.c.
Referenced by GSC_SESSIONS_end(), pop_cork_task(), and try_transmission().
struct GNUNET_SCHEDULER_Task* Session::typemap_task |
Task to transmit our type map.
Definition at line 139 of file gnunet-service-core_sessions.c.
Referenced by GSC_SESSIONS_confirm_typemap(), GSC_SESSIONS_end(), start_typemap_task(), and transmit_typemap_task().
struct GNUNET_TIME_Relative Session::typemap_delay |
Retransmission delay we currently use for the typemap transmissions (if not confirmed).
Definition at line 145 of file gnunet-service-core_sessions.c.
Referenced by start_typemap_task(), and transmit_typemap_task().
int Session::first_typemap |
Is this the first time we're sending the typemap? If so, we want to send it a bit faster the second time.
0 if we are sending for the first time, 1 if not.
Definition at line 152 of file gnunet-service-core_sessions.c.