22 #ifndef DHTNAMESERVICE_H_
23 #define DHTNAMESERVICE_H_
25 #define DHT_RESULTS_EXPIRE_TIMEOUT 600
26 #define DHT_PATH_EXPIRE_TIMEOUT 60
27 #define DHT_DISCOVERED_NODE_PRIORITY 3
43 #include <dtndht/dtndht.h>
62 struct dtn_dht_context _context;
64 unsigned char _buf[4096];
66 int _interrupt_pipe[2];
78 std::list<dtn::data::EID> cachedLookups;
100 bool setNonBlockingInterruptPipe(
void);
105 std::string getConvergenceLayerName(
119 void bootstrapping();
124 void bootstrappingFile();
129 void bootstrappingDNS();
134 void bootstrappingIPs();
142 const std::string
getName()
const;