GNUnet  0.20.0
PeerIterateResponseMessage Struct Reference

Message from the transport service to the library containing information about a peer. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/transport/transport.h>

Collaboration diagram for PeerIterateResponseMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_RESPONSE. More...
 
uint32_t reserved
 For alignment. More...
 
struct GNUNET_PeerIdentity peer
 Peer identity. More...
 
struct GNUNET_TIME_AbsoluteNBO state_timeout
 Timeout for the state this peer is in. More...
 
uint32_t local_address_info
 Local info about the address. More...
 
uint32_t state
 State this peer is in as an enum GNUNET_TRANSPORT_PeerState More...
 
uint32_t addrlen
 Address length. More...
 
uint32_t pluginlen
 Length of the plugin name. More...
 

Detailed Description

Message from the transport service to the library containing information about a peer.

Information contained are:

  • current address used to communicate with this peer
  • state
  • state timeout

Memory layout: [AddressIterateResponseMessage][address[addrlen]][transportname[pluginlen]]

Definition at line 537 of file transport.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader PeerIterateResponseMessage::header

Type is GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PEER_RESPONSE.

Definition at line 503 of file transport.h.

Referenced by check_response().

◆ reserved

uint32_t PeerIterateResponseMessage::reserved

For alignment.

Definition at line 547 of file transport.h.

◆ peer

◆ state_timeout

struct GNUNET_TIME_AbsoluteNBO PeerIterateResponseMessage::state_timeout

Timeout for the state this peer is in.

Definition at line 547 of file transport.h.

Referenced by GST_clients_broadcast_peer_notification(), handle_response(), and send_peer_information().

◆ local_address_info

uint32_t PeerIterateResponseMessage::local_address_info

Local info about the address.

Definition at line 562 of file transport.h.

Referenced by handle_response().

◆ state

◆ addrlen

uint32_t PeerIterateResponseMessage::addrlen

Address length.

Definition at line 572 of file transport.h.

Referenced by check_response(), and handle_response().

◆ pluginlen

uint32_t PeerIterateResponseMessage::pluginlen

Length of the plugin name.

Definition at line 577 of file transport.h.

Referenced by check_response(), and handle_response().


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