#include <utility>#include <boost/bind.hpp>#include <boost/optional.hpp>#include <boost/function.hpp>#include <boost/iterator_adaptors.hpp>#include "libtorrent/io.hpp"#include "libtorrent/hasher.hpp"#include "libtorrent/random_sample.hpp"#include "libtorrent/kademlia/node_id.hpp"#include "libtorrent/kademlia/rpc_manager.hpp"#include "libtorrent/kademlia/packet_iterator.hpp"#include "libtorrent/kademlia/routing_table.hpp"#include "libtorrent/kademlia/node.hpp"#include "libtorrent/kademlia/refresh.hpp"#include "libtorrent/kademlia/closest_nodes.hpp"#include "libtorrent/kademlia/find_data.hpp"Go to the source code of this file.
Namespaces | |
| namespace | libtorrent |
| namespace | libtorrent::dht |
Enumerations | |
| enum | { libtorrent::dht::announce_interval = 30 } |
Functions | |
| node_id | libtorrent::dht::generate_id () |
| void | libtorrent::dht::purge_peers (std::set< peer_entry > &peers) |
| void | libtorrent::dht::nop () |
| void | libtorrent::dht::announce_fun (std::vector< node_entry > const &v, rpc_manager &rpc, int listen_port, sha1_hash const &ih, boost::function< void(std::vector< tcp::endpoint > const &, sha1_hash const &)> f) |
| tcp::endpoint | libtorrent::dht::get_endpoint (peer_entry const &p) |
| boost::function<void(std::vector<tcp::endpoint> const&, sha1_hash const&)> m_fun |
| sha1_hash m_info_hash |
Definition at line 257 of file node.cpp.
Referenced by libtorrent::torrent_info::info_hash(), libtorrent::torrent_handle::info_hash(), libtorrent::torrent_handle::operator!=(), libtorrent::torrent_handle::operator<(), and libtorrent::torrent_handle::operator==().
| int m_listen_port |
1.5.6