GNUnet  0.11.x
Data Fields
SendOkMessage Struct Reference

Message used to notify the transport API that it can send another message to the transport service. More...

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

Collaboration diagram for SendOkMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK. More...
 
uint16_t success
 GNUNET_OK if the transmission succeeded, GNUNET_SYSERR if it failed (i.e. More...
 
uint16_t bytes_msg
 Size of message sent. More...
 
uint32_t bytes_physical
 Size of message sent over wire. More...
 
struct GNUNET_PeerIdentity peer
 Which peer can send more now? More...
 

Detailed Description

Message used to notify the transport API that it can send another message to the transport service.

Definition at line 216 of file transport.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader SendOkMessage::header

Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK.

Definition at line 221 of file transport.h.

Referenced by handle_send_transmit_continuation().

◆ success

uint16_t SendOkMessage::success

GNUNET_OK if the transmission succeeded, GNUNET_SYSERR if it failed (i.e.

network disconnect); in either case, it is now OK for this client to send us another message for the given peer.

Definition at line 234 of file transport.h.

Referenced by handle_send_ok(), and handle_send_transmit_continuation().

◆ bytes_msg

uint16_t SendOkMessage::bytes_msg

Size of message sent.

Definition at line 239 of file transport.h.

Referenced by handle_send_ok(), and handle_send_transmit_continuation().

◆ bytes_physical

uint32_t SendOkMessage::bytes_physical

Size of message sent over wire.

Includes plugin and protocol specific overheads.

Definition at line 245 of file transport.h.

Referenced by handle_send_ok(), and handle_send_transmit_continuation().

◆ peer

struct GNUNET_PeerIdentity SendOkMessage::peer

Which peer can send more now?

Definition at line 251 of file transport.h.

Referenced by client_send_response(), handle_send_ok(), and handle_send_transmit_continuation().


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