DHT_MESSAGE Struct Reference

message send for DHT get, put or result. PUT and RESULT messages are followed by the content. "header.type" distinguishes the three types of messages. More...


Data Fields

GNUNET_MessageHeader header
unsigned int type
unsigned int hop_count
unsigned int network_size
GNUNET_HashCode key


Detailed Description

message send for DHT get, put or result. PUT and RESULT messages are followed by the content. "header.type" distinguishes the three types of messages.

Definition at line 121 of file routing.c.


Field Documentation

GNUNET_MessageHeader DHT_MESSAGE::header

Definition at line 124 of file routing.c.

Referenced by handleGet(), handlePut(), handleResult(), and routeResult().

unsigned int DHT_MESSAGE::type

Type of the requested content (NBO)

Definition at line 129 of file routing.c.

Referenced by addRoute(), handleResult(), and routeResult().

unsigned int DHT_MESSAGE::hop_count

Number of hops this message has passed (NBO)

Definition at line 134 of file routing.c.

Referenced by handleGet(), handlePut(), and routeResult().

unsigned int DHT_MESSAGE::network_size

Network size estimate -- sum of the logs of the network size estimates of all hops this message has passed so far.

Definition at line 141 of file routing.c.

Referenced by handleGet(), handlePut(), and routeResult().

GNUNET_HashCode DHT_MESSAGE::key

Search key.

Definition at line 146 of file routing.c.

Referenced by addRoute(), handleResult(), and routeResult().


The documentation for this struct was generated from the following file:
Generated on Sat Oct 11 02:21:23 2008 for GNUnet by  doxygen 1.5.1