GNUnet  0.11.x
Data Fields
TransportPluginMonitorMessage Struct Reference

Transport-level connection status update. More...

#include </home/handbook/gnunet/src/transport/transport.h>

Collaboration diagram for TransportPluginMonitorMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_EVENT. More...
 
uint16_t session_state
 An enum GNUNET_TRANSPORT_SessionState in NBO. More...
 
int16_t 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' Value given in NBO. More...
 
uint32_t msgs_pending
 Number of messages waiting transmission. More...
 
uint32_t bytes_pending
 Number of bytes waiting for transmission. More...
 
struct GNUNET_TIME_AbsoluteNBO timeout
 When will this transport plugin session time out? More...
 
struct GNUNET_TIME_AbsoluteNBO delay
 Until how long is this plugin currently blocked from reading? More...
 
struct GNUNET_PeerIdentity peer
 Which peer is this connection for? More...
 
uint64_t session_id
 Unique identifier for the session. More...
 
uint16_t plugin_name_len
 Length of the plugin name in bytes, including 0-termination. More...
 
uint16_t plugin_address_len
 Length of the plugin address in bytes. More...
 

Detailed Description

Transport-level connection status update.

Definition at line 609 of file transport.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader TransportPluginMonitorMessage::header

Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_EVENT.

Definition at line 614 of file transport.h.

Referenced by check_event(), and plugin_session_info_cb().

◆ session_state

uint16_t TransportPluginMonitorMessage::session_state

An enum GNUNET_TRANSPORT_SessionState in NBO.

Definition at line 619 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ is_inbound

int16_t TransportPluginMonitorMessage::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' Value given in NBO.

Definition at line 629 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ msgs_pending

uint32_t TransportPluginMonitorMessage::msgs_pending

Number of messages waiting transmission.

Definition at line 634 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ bytes_pending

uint32_t TransportPluginMonitorMessage::bytes_pending

Number of bytes waiting for transmission.

Definition at line 639 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ timeout

struct GNUNET_TIME_AbsoluteNBO TransportPluginMonitorMessage::timeout

When will this transport plugin session time out?

Definition at line 644 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ delay

struct GNUNET_TIME_AbsoluteNBO TransportPluginMonitorMessage::delay

Until how long is this plugin currently blocked from reading?

Definition at line 649 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ peer

struct GNUNET_PeerIdentity TransportPluginMonitorMessage::peer

Which peer is this connection for?

Definition at line 654 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ session_id

uint64_t TransportPluginMonitorMessage::session_id

Unique identifier for the session.

Definition at line 659 of file transport.h.

Referenced by handle_event(), and plugin_session_info_cb().

◆ plugin_name_len

uint16_t TransportPluginMonitorMessage::plugin_name_len

Length of the plugin name in bytes, including 0-termination.

Definition at line 664 of file transport.h.

Referenced by check_event(), handle_event(), and plugin_session_info_cb().

◆ plugin_address_len

uint16_t TransportPluginMonitorMessage::plugin_address_len

Length of the plugin address in bytes.

Definition at line 669 of file transport.h.

Referenced by check_event(), handle_event(), and plugin_session_info_cb().


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