libdht
|
DHT node object. More...
#include <node.h>
Data Fields | |
unsigned char | id [20] |
DHT node identifier. | |
node_output_t | output |
Datagram output function. | |
void * | opaque |
Output callback user data. | |
struct bucket * | buckets |
Bucket list. | |
struct { | |
struct search * first | |
struct search ** tail | |
} | searches |
List of pending searches. | |
uint16_t | tid |
Transaction ID generation counter. | |
struct ip_counter | ip_counter |
External IP counter. | |
unsigned char | secret [16] |
Secret for token generation. | |
struct peer_list * | peer_storage |
Peer list storage. | |
struct put_item * | put_storage |
Put data storage. | |
struct search * | bootstrap |
Bootstrap search handle. | |
bootstrap_status_t | bootstrap_cb |
Bootstrap status callback. | |
void * | bootstrap_priv |
Bootstrap callback user data. | |
DHT node object.