GNUnet  0.11.x
Data Fields
PeerIterateResponseMessage Struct Reference

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

#include </home/handbook/gnunet/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:

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

Definition at line 537 of file transport.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader PeerIterateResponseMessage::header

◆ reserved

uint32_t PeerIterateResponseMessage::reserved

For alignment.

Definition at line 547 of file transport.h.

Referenced by compose_address_iterate_response_message().

◆ peer

struct GNUNET_PeerIdentity PeerIterateResponseMessage::peer

Peer identity.

Definition at line 552 of file transport.h.

Referenced by compose_address_iterate_response_message(), and handle_response().

◆ state_timeout

struct GNUNET_TIME_AbsoluteNBO PeerIterateResponseMessage::state_timeout

Timeout for the state this peer is in.

Definition at line 557 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 compose_address_iterate_response_message(), and handle_response().

◆ state

uint32_t PeerIterateResponseMessage::state

State this peer is in as an enum GNUNET_TRANSPORT_PeerState

Definition at line 567 of file transport.h.

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

◆ addrlen

uint32_t PeerIterateResponseMessage::addrlen

Address length.

Definition at line 572 of file transport.h.

Referenced by check_response(), compose_address_iterate_response_message(), 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(), compose_address_iterate_response_message(), and handle_response().


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