A HELLO message is used to exchange information about transports with other peers. More...
#include <gnunet_hello_lib.h>
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... | |
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.
struct GNUNET_MessageHeader GNUNET_HELLO_Message::header |
Type will be GNUNET_MESSAGE_TYPE_HELLO.
Definition at line 114 of file gnunet_hello_lib.h.
Referenced by dht_get_id_handler(), GNUNET_HELLO_create(), GNUNET_HELLO_get_header(), GNUNET_HELLO_get_id(), GNUNET_HELLO_size(), gnunet_try_connect(), got_hello(), and schedule_next_hello().
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().
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().