GNUnet  0.11.x
Data Fields
SessionMessageEntry Struct Reference

Message ready for encryption. More...

Collaboration diagram for SessionMessageEntry:
[legend]

Data Fields

struct SessionMessageEntrynext
 We keep messages in a doubly linked list. More...
 
struct SessionMessageEntryprev
 We keep messages in a doubly linked list. More...
 
enum GNUNET_MQ_PriorityPreferences priority
 How important is this message. More...
 
int is_typemap
 Flag set to GNUNET_YES if this is a typemap message. More...
 
int is_typemap_confirm
 Flag set to GNUNET_YES if this is a typemap confirmation message. More...
 
struct GNUNET_TIME_Absolute deadline
 Deadline for transmission, 1s after we received it (if we are not corking), otherwise "now". More...
 
size_t size
 How long is the message? (number of bytes following the struct MessageEntry, but not including the size of struct MessageEntry itself!) More...
 

Detailed Description

Message ready for encryption.

This struct is followed by the actual content of the message.

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

Field Documentation

◆ next

struct SessionMessageEntry* SessionMessageEntry::next

We keep messages in a doubly linked list.

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

Referenced by do_restart_typemap_message(), GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), and try_transmission().

◆ prev

struct SessionMessageEntry* SessionMessageEntry::prev

We keep messages in a doubly linked list.

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

Referenced by GSC_SESSIONS_transmit().

◆ priority

enum GNUNET_MQ_PriorityPreferences SessionMessageEntry::priority

How important is this message.

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

Referenced by do_restart_typemap_message(), GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), and try_transmission().

◆ is_typemap

int SessionMessageEntry::is_typemap

Flag set to GNUNET_YES if this is a typemap message.

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

Referenced by do_restart_typemap_message().

◆ is_typemap_confirm

int SessionMessageEntry::is_typemap_confirm

Flag set to GNUNET_YES if this is a typemap confirmation message.

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

Referenced by GSC_SESSIONS_set_typemap().

◆ deadline

struct GNUNET_TIME_Absolute SessionMessageEntry::deadline

Deadline for transmission, 1s after we received it (if we are not corking), otherwise "now".

Note that this message does NOT expire past its deadline.

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

Referenced by GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), and try_transmission().

◆ size

size_t SessionMessageEntry::size

How long is the message? (number of bytes following the struct MessageEntry, but not including the size of struct MessageEntry itself!)

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

Referenced by do_restart_typemap_message(), GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), and try_transmission().


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