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 122 of file dht/module/routing.c.


Field Documentation

unsigned int DHT_MESSAGE::type

Type of the requested content (NBO)

Definition at line 130 of file dht/module/routing.c.

Referenced by add_route(), GNUNET_DHT_put(), handle_put(), handle_result(), and route_result().

unsigned int DHT_MESSAGE::hop_count

Number of hops this message has passed (NBO)

Definition at line 135 of file dht/module/routing.c.

Referenced by GNUNET_DHT_put(), handle_get(), handle_put(), and route_result().

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

Definition at line 142 of file dht/module/routing.c.

Referenced by GNUNET_DHT_put(), handle_get(), handle_put(), and route_result().

Search key.

Definition at line 147 of file dht/module/routing.c.

Referenced by add_route(), GNUNET_DHT_put(), handle_put(), handle_result(), and route_result().


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

Generated on Sat Dec 5 01:56:06 2009 for GNUnet by  doxygen 1.5.6