|
IBR-DTNSuite
0.12
|
#include "config.h"#include "DHTNameService.h"#include "ibrcommon/net/vsocket.h"#include "core/EventDispatcher.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>#include <unistd.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 825 of file DHTNameService.cpp.
References dtn::net::ConnectionManager::add(), dtn::core::Node::add(), dtn::core::BundleCore::addRoute(), DHT_DISCOVERED_NODE_PRIORITY, DHT_PATH_EXPIRE_TIMEOUT, DHT_RESULTS_EXPIRE_TIMEOUT, dtn::core::BundleCore::getConnectionManager(), dtn::core::Node::getEID(), dtn::core::BundleCore::getInstance(), dtn::daemon::Configuration::getInstance(), group, IBRCOMMON_LOGGER_ENDL, IBRCOMMON_LOGGER_TAG, ibrcommon::LogLevel::info, dtn::net::ConnectionManager::isNeighbor(), and dtn::core::BundleCore::local.

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