|
IBR-DTNSuite
0.8
|
#include "config.h"#include "DHTNameService.h"#include "ibrcommon/net/vsocket.h"#include "core/BundleCore.h"#include "core/NodeEvent.h"#include "routing/QueueBundleEvent.h"#include <ibrdtn/utils/Utils.h>#include <ibrcommon/Logger.h>#include <ibrcommon/thread/MutexLock.h>#include <sys/socket.h>#include <arpa/inet.h>#include <set>#include <cstdlib>#include <sys/time.h>#include <fcntl.h>#include <string.h>
Go to the source code of this file.
Functions | |
| void | dtn_dht_handle_lookup_result (const struct dtn_dht_lookup_result *result) |
| void | dtn_dht_operation_done (const unsigned char *info_hash) |
| void dtn_dht_handle_lookup_result | ( | const struct dtn_dht_lookup_result * | result | ) |
Definition at line 742 of file DHTNameService.cpp.
References dtn::core::Node::add(), dtn::core::BundleCore::addConnection(), dtn::core::BundleCore::addRoute(), DHT_DISCOVERED_NODE_PRIORITY, DHT_PATH_EXPIRE_TIMEOUT, DHT_RESULTS_EXPIRE_TIMEOUT, dtn::core::Node::getEID(), dtn::core::BundleCore::getInstance(), dtn::daemon::Configuration::getInstance(), dtn::data::EID::getNode(), group, IBRCOMMON_LOGGER, IBRCOMMON_LOGGER_ENDL, dtn::core::BundleCore::isNeighbor(), and dtn::core::BundleCore::local.

| void dtn_dht_operation_done | ( | const unsigned char * | info_hash | ) |
Definition at line 847 of file DHTNameService.cpp.