GNUnet  0.20.0
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 489 of file gnunet_transport_service.h.

Field Documentation

◆ 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 503 of file gnunet_transport_service.h.

◆ num_msg_pending

uint32_t GNUNET_TRANSPORT_SessionInfo::num_msg_pending

Number of messages pending transmission for this session.

Definition at line 508 of file gnunet_transport_service.h.

◆ num_bytes_pending

uint32_t GNUNET_TRANSPORT_SessionInfo::num_bytes_pending

Number of bytes pending transmission for this session.

Definition at line 513 of file gnunet_transport_service.h.

◆ 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 513 of file gnunet_transport_service.h.

◆ session_timeout

struct GNUNET_TIME_Absolute GNUNET_TRANSPORT_SessionInfo::session_timeout

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

Definition at line 513 of file gnunet_transport_service.h.

◆ 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 531 of file gnunet_transport_service.h.


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