GNUnet 0.22.2
GNUNET_NSE_ClientMessage Struct Reference

Network size estimate sent from the service to clients. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/nse/nse.h>

Collaboration diagram for GNUNET_NSE_ClientMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_NSE_ESTIMATE. More...
 
uint32_t reserved
 For alignment. More...
 
struct GNUNET_TIME_AbsoluteNBO timestamp
 Timestamp at which the server received the message. More...
 
double size_estimate
 The current estimated network size. More...
 
double std_deviation
 The standard deviation (rounded down to the nearest integer) of size estimations. More...
 

Detailed Description

Network size estimate sent from the service to clients.

Contains the current size estimate (or 0 if none has been calculated) and the standard deviation of known estimates.

Definition at line 42 of file nse.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_NSE_ClientMessage::header

Type: GNUNET_MESSAGE_TYPE_NSE_ESTIMATE.

Definition at line 47 of file nse.h.

Referenced by handle_start(), setup_estimate_message(), and update_network_size_estimate().

◆ reserved

uint32_t GNUNET_NSE_ClientMessage::reserved

For alignment.

Definition at line 52 of file nse.h.

Referenced by setup_estimate_message().

◆ timestamp

struct GNUNET_TIME_AbsoluteNBO GNUNET_NSE_ClientMessage::timestamp

Timestamp at which the server received the message.

Definition at line 57 of file nse.h.

Referenced by handle_estimate(), and setup_estimate_message().

◆ size_estimate

double GNUNET_NSE_ClientMessage::size_estimate

The current estimated network size.

Definition at line 62 of file nse.h.

Referenced by handle_estimate(), and setup_estimate_message().

◆ std_deviation

double GNUNET_NSE_ClientMessage::std_deviation

The standard deviation (rounded down to the nearest integer) of size estimations.

Definition at line 69 of file nse.h.

Referenced by handle_estimate(), and setup_estimate_message().


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