GNUnet  0.10.x
Data Fields
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 213 of file gnunet_hello_lib.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_HELLO_Message::header

◆ friend_only

uint32_t GNUNET_HELLO_Message::friend_only

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

Definition at line 223 of file gnunet_hello_lib.h.

Referenced by GNUNET_HELLO_create(), GNUNET_HELLO_is_friend_only(), and GNUNET_HELLO_merge().

◆ publicKey

struct GNUNET_CRYPTO_EddsaPublicKey GNUNET_HELLO_Message::publicKey

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