GNUnet  0.11.x
Data Fields
GNUNET_TRANSPORT_SessionInfo Struct Reference

Information about a plugin's session. More...

#include <gnunet_transport_service.h>

Collaboration diagram for GNUNET_TRANSPORT_SessionInfo:
[legend]

Data Fields

enum GNUNET_TRANSPORT_SessionState state
 New state of the session. More...
 
int is_inbound
 GNUNET_YES if this is an inbound connection, GNUNET_NO if this is an outbound connection, GNUNET_SYSERR if connections of this plugin are so fundamentally bidirectional that they have no 'initiator' More...
 
uint32_t num_msg_pending
 Number of messages pending transmission for this session. More...
 
uint32_t num_bytes_pending
 Number of bytes pending transmission for this session. More...
 
struct GNUNET_TIME_Absolute receive_delay
 Until when does this plugin refuse to receive to manage staying within the inbound quota? ZERO if receive is active. More...
 
struct GNUNET_TIME_Absolute session_timeout
 At what time will this session timeout (unless activity happens)? More...
 
const struct GNUNET_HELLO_Addressaddress
 Address used by the session. More...
 

Detailed Description

Information about a plugin's session.

Definition at line 481 of file gnunet_transport_service.h.

Field Documentation

◆ state

enum GNUNET_TRANSPORT_SessionState GNUNET_TRANSPORT_SessionInfo::state

◆ is_inbound

int GNUNET_TRANSPORT_SessionInfo::is_inbound

GNUNET_YES if this is an inbound connection, GNUNET_NO if this is an outbound connection, GNUNET_SYSERR if connections of this plugin are so fundamentally bidirectional that they have no 'initiator'

Definition at line 495 of file gnunet_transport_service.h.

Referenced by handle_event(), notify_session_monitor(), plugin_session_info_cb(), and print_plugin_event_info().

◆ num_msg_pending

uint32_t GNUNET_TRANSPORT_SessionInfo::num_msg_pending

Number of messages pending transmission for this session.

Definition at line 500 of file gnunet_transport_service.h.

Referenced by handle_event(), notify_session_monitor(), plugin_session_info_cb(), and print_plugin_event_info().

◆ num_bytes_pending

uint32_t GNUNET_TRANSPORT_SessionInfo::num_bytes_pending

Number of bytes pending transmission for this session.

Definition at line 505 of file gnunet_transport_service.h.

Referenced by handle_event(), notify_session_monitor(), plugin_session_info_cb(), and print_plugin_event_info().

◆ receive_delay

struct GNUNET_TIME_Absolute GNUNET_TRANSPORT_SessionInfo::receive_delay

Until when does this plugin refuse to receive to manage staying within the inbound quota? ZERO if receive is active.

Definition at line 512 of file gnunet_transport_service.h.

Referenced by handle_event(), notify_session_monitor(), plugin_session_info_cb(), and print_plugin_event_info().

◆ session_timeout

struct GNUNET_TIME_Absolute GNUNET_TRANSPORT_SessionInfo::session_timeout

At what time will this session timeout (unless activity happens)?

Definition at line 518 of file gnunet_transport_service.h.

Referenced by handle_event(), notify_session_monitor(), plugin_session_info_cb(), and print_plugin_event_info().

◆ address

const struct GNUNET_HELLO_Address* GNUNET_TRANSPORT_SessionInfo::address

Address used by the session.

Can be NULL if none is available.

Definition at line 523 of file gnunet_transport_service.h.

Referenced by handle_event(), notify_session_monitor(), plugin_monitoring_cb(), plugin_session_info_cb(), and print_plugin_event_info().


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