GNUnet 0.22.2
GNUNET_HOSTLIST_ADV_Message Struct Reference

A HOSTLIST_ADV message is used to exchange information about hostlist advertisements. More...

Collaboration diagram for GNUNET_HOSTLIST_ADV_Message:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT. More...
 
uint32_t reserved
 Always zero (for alignment). More...
 

Detailed Description

A HOSTLIST_ADV message is used to exchange information about hostlist advertisements.

This struct is always followed by the actual url under which the hostlist can be obtained:

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

Definition at line 101 of file gnunet-daemon-hostlist.c.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_HOSTLIST_ADV_Message::header

Type will be GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT.

Definition at line 106 of file gnunet-daemon-hostlist.c.

◆ reserved

uint32_t GNUNET_HOSTLIST_ADV_Message::reserved

Always zero (for alignment).

Definition at line 111 of file gnunet-daemon-hostlist.c.


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