GNUnet  0.20.0
GNUNET_HELLO_Message Struct Reference

A HELLO message is used to exchange information about transports with other peers. More...

#include <gnunet_hello_lib.h>

Collaboration diagram for GNUNET_HELLO_Message:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_HELLO. More...
 
uint32_t friend_only
 Use in F2F mode: Do not gossip this HELLO message. More...
 
struct GNUNET_CRYPTO_EddsaPublicKey publicKey
 The public key of the peer. More...
 

Detailed Description

A HELLO message is used to exchange information about transports with other peers.

This struct is always followed by the actual network addresses which have the format:

1) transport-name (0-terminated) 2) address-length (uint16_t, network byte order; possibly unaligned!) 3) address expiration (struct GNUNET_TIME_AbsoluteNBO); possibly unaligned!) 4) address (address-length bytes; possibly unaligned!)

Definition at line 216 of file gnunet_hello_lib.h.

Field Documentation

◆ header

◆ friend_only

uint32_t GNUNET_HELLO_Message::friend_only

Use in F2F mode: Do not gossip this HELLO message.

Definition at line 226 of file gnunet_hello_lib.h.

Referenced by GNUNET_HELLO_create(), and GNUNET_HELLO_merge().

◆ publicKey

struct GNUNET_CRYPTO_EddsaPublicKey GNUNET_HELLO_Message::publicKey

The public key of the peer.

Definition at line 226 of file gnunet_hello_lib.h.

Referenced by GNUNET_HELLO_compose_uri(), GNUNET_HELLO_create(), GNUNET_HELLO_get_id(), and GNUNET_HELLO_merge().


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