GNUnet 0.22.2
Session Struct Reference

Data kept per session. More...

Collaboration diagram for Session:
[legend]

Data Fields

const struct GNUNET_PeerIdentitypeer
 Identity of the other peer. More...
 
struct GSC_KeyExchangeInfokx
 Key exchange state for this peer. More...
 
struct GSC_ClientActiveRequestactive_client_request_head
 Head of list of requests from clients for transmission to this peer. More...
 
struct GSC_ClientActiveRequestactive_client_request_tail
 Tail of list of requests from clients for transmission to this peer. More...
 
struct SessionMessageEntrysme_head
 Head of list of messages ready for encryption. More...
 
struct SessionMessageEntrysme_tail
 Tail of list of messages ready for encryption. More...
 
struct GSC_TypeMaptmap
 Current type map for this peer. More...
 
struct GNUNET_SCHEDULER_Taskcork_task
 Task to transmit corked messages with a delay. More...
 
struct GNUNET_SCHEDULER_Tasktypemap_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...
 

Detailed Description

Data kept per session.

Definition at line 92 of file gnunet-service-core_sessions.c.

Field Documentation

◆ peer

◆ kx

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().

◆ active_client_request_head

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().

◆ active_client_request_tail

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().

◆ sme_head

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().

◆ sme_tail

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().

◆ tmap

struct GSC_TypeMap* Session::tmap

◆ cork_task

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().

◆ typemap_task

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().

◆ typemap_delay

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().

◆ first_typemap

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.


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