Classes | |
| class | alert |
| class | alert_manager |
| struct | unhandled_alert |
| struct | handle_alert |
| struct | torrent_alert |
| struct | tracker_alert |
| struct | tracker_warning_alert |
| struct | tracker_reply_alert |
| struct | tracker_announce_alert |
| struct | hash_failed_alert |
| struct | peer_ban_alert |
| struct | peer_error_alert |
| struct | invalid_request_alert |
| struct | torrent_finished_alert |
| struct | url_seed_alert |
| struct | file_error_alert |
| struct | metadata_failed_alert |
| struct | metadata_received_alert |
| struct | listen_failed_alert |
| struct | fastresume_rejected_alert |
| struct | history_entry |
| struct | bw_queue_entry |
| struct | bandwidth_limit |
| struct | bandwidth_manager |
| struct | invalid_encoding |
| class | bt_peer_connection |
| class | buffer |
| struct | logger |
| struct | type_error |
| class | entry |
| struct | torrent_plugin |
| struct | peer_plugin |
| struct | file_error |
| class | file |
| struct | file_pool |
| struct | fingerprint |
| class | adler32_crc |
| class | hasher |
| class | http_parser |
| class | http_tracker_connection |
| class | invariant_access |
| struct | invariant_checker |
| struct | invariant_checker_impl |
| struct | ip_range |
| class | ip_filter |
| struct | peer_entry |
| struct | protocol_error |
| class | peer_connection |
| class | big_number |
| struct | peer_info |
| struct | peer_request |
| struct | piece_block_progress |
| struct | piece_block |
| class | piece_picker |
| class | policy |
| struct | resource_request |
| class | session_proxy |
| class | session |
| struct | session_settings |
| struct | dht_settings |
| struct | session_status |
| class | stat |
| struct | file_allocation_failed |
| class | storage |
| class | piece_manager |
| class | torrent |
| struct | duplicate_torrent |
| struct | invalid_handle |
| struct | torrent_status |
| struct | partial_piece_info |
| struct | torrent_handle |
| struct | file_entry |
| struct | file_slice |
| struct | announce_entry |
| struct | invalid_torrent_file |
| class | torrent_info |
| struct | tracker_request |
| struct | request_callback |
| struct | timeout_handler |
| struct | tracker_connection |
| class | tracker_manager |
| class | udp_tracker_connection |
| class | web_peer_connection |
| struct | disconnect_torrent |
| struct | check_postcondition |
| struct | set_to_zero |
| struct | thread_safe_storage |
| struct | slot_lock |
Namespaces | |
| namespace | aux |
| namespace | detail |
| namespace | dht |
Typedefs | |
| typedef big_number | peer_id |
| typedef big_number | sha1_hash |
| typedef boost::int64_t | size_type |
| typedef asio::ip::tcp::socket | stream_socket |
| typedef asio::ip::address | address |
| typedef asio::ip::address_v4 | address_v4 |
| typedef asio::ip::address_v6 | address_v6 |
| typedef asio::ip::udp::socket | datagram_socket |
| typedef asio::ip::tcp::acceptor | socket_acceptor |
| typedef asio::io_service | io_service |
| typedef std::pair< int, char const * > | country_entry |
Enumerations | |
| enum | { min_request_queue = 2, free_upload_amount = 4 * 16 * 1024 } |
Functions | |
| int | saturated_add (int a, int b) |
| void | allocate_resources (int resources, std::map< sha1_hash, boost::shared_ptr< torrent > > &torrents, resource_request torrent::*res) |
| void | allocate_resources (int resources, std::map< tcp::endpoint, peer_connection * > &connections, resource_request peer_connection::*res) |
| void | allocate_resources (int resources, std::vector< session * > &_sessions, resource_request session::*res) |
| template<class OutIt> | |
| void | bencode (OutIt out, const entry &e) |
| template<class InIt> | |
| entry | bdecode (InIt start, InIt end) |
| std::ostream & | operator<< (std::ostream &os, const entry &e) |
| std::string TORRENT_EXPORT | unescape_string (std::string const &s) |
| std::string TORRENT_EXPORT | escape_string (const char *str, int len) |
| std::string TORRENT_EXPORT | escape_path (const char *str, int len) |
| boost::shared_ptr< torrent_plugin > | create_logger_plugin (torrent *) |
| boost::shared_ptr< torrent_plugin > | create_metadata_plugin (torrent *) |
| boost::shared_ptr< torrent_plugin > | create_ut_pex_plugin (torrent *) |
| TORRENT_EXPORT std::string | identify_client (const peer_id &p) |
| TORRENT_EXPORT boost::optional < fingerprint > | client_fingerprint (peer_id const &p) |
| template<class T> | |
| void | check_invariant (T const &x) |
| template<class T> | |
| invariant_checker_impl< T > | make_invariant_checker (T const &x) |
| bool | operator<= (address const &lhs, address const &rhs) |
| TORRENT_EXPORT void | intrusive_ptr_add_ref (peer_connection const *) |
| TORRENT_EXPORT void | intrusive_ptr_release (peer_connection const *) |
| std::ostream & | operator<< (std::ostream &os, big_number const &peer) |
| std::istream & | operator>> (std::istream &is, big_number &peer) |
| void | request_a_block (torrent &t, peer_connection &c, std::vector< peer_connection * > ignore=std::vector< peer_connection * >()) |
| template<class InIter, class OutIter, class Distance> | |
| void | random_sample_n (InIter start, InIter end, OutIter out, Distance n) |
| TORRENT_EXPORT std::vector < std::pair< size_type, std::time_t > > | get_filesizes (torrent_info const &t, boost::filesystem::path p) |
| TORRENT_EXPORT bool | match_filesizes (torrent_info const &t, boost::filesystem::path p, std::vector< std::pair< size_type, std::time_t > > const &sizes, std::string *error=0) |
| TORRENT_EXPORT std::string | base64encode (const std::string &s) |
| TORRENT_EXPORT int | gzip_header (const char *buf, int size) |
| TORRENT_EXPORT boost::tuple < std::string, std::string, int, std::string > | parse_url_components (std::string url) |
| TORRENT_EXPORT bool | inflate_gzip (std::vector< char > &buffer, tracker_request const &req, request_callback *requester, int maximum_tracker_response_length) |
| TORRENT_EXPORT void | intrusive_ptr_add_ref (timeout_handler const *) |
| TORRENT_EXPORT void | intrusive_ptr_release (timeout_handler const *) |
| void | utf8_wchar (const std::string &utf8, std::wstring &wide) |
| std::wstring | utf8_wchar (const std::string &str) |
| void | wchar_utf8 (const std::wstring &wide, std::string &utf8) |
| std::string | wchar_utf8 (const std::wstring &str) |
| int | div_round_up (int numerator, int denominator) |
| std::pair< int, int > | req_to_offset (std::pair< int, int > req, int total_size) |
| std::pair< int, int > | offset_to_req (std::pair< int, int > offset, int total_size) |
| void | close_socket_ignore_error (boost::shared_ptr< stream_socket > s) |
| catch (std::exception &e) | |
| catch (...) | |
| bool | exclusively_requested_from (piece_picker::downloading_piece const &p, int num_blocks_in_piece, tcp::endpoint peer) |
| std::vector< std::pair < size_type, std::time_t > > | get_filesizes (torrent_info const &t, path p) |
| bool | match_filesizes (torrent_info const &t, path p, std::vector< std::pair< size_type, std::time_t > > const &sizes, std::string *error) |
| bool | compare_first (country_entry const &lhs, country_entry const &rhs) |
| void | throw_invalid_handle () |
| template<class Ret, class F> | |
| Ret | call_member (session_impl *ses, aux::checker_impl *chk, sha1_hash const &hash, F f) |
| bool | range_contains (peer_request const &range, peer_request const &req) |
Variables | |
| const int | max_bandwidth_block_size = 33000 |
| const int | min_bandwidth_block_size = 4000 |
| const pt::time_duration | window_size = pt::seconds(1) |
| const char | extension_name [] = "ut_pex" |
| typedef asio::ip::address libtorrent::address |
Definition at line 86 of file socket.hpp.
Definition at line 87 of file socket.hpp.
Definition at line 88 of file socket.hpp.
typedef std::pair<int, char const*> libtorrent::country_entry [static] |
Definition at line 1394 of file torrent.cpp.
Definition at line 89 of file socket.hpp.
Definition at line 91 of file socket.hpp.
| typedef big_number libtorrent::peer_id |
Definition at line 141 of file peer_id.hpp.
| typedef big_number libtorrent::sha1_hash |
Definition at line 142 of file peer_id.hpp.
| typedef boost::int64_t libtorrent::size_type |
Definition at line 48 of file size_type.hpp.
Definition at line 90 of file socket.hpp.
Definition at line 85 of file socket.hpp.
| anonymous enum |
| void libtorrent::allocate_resources | ( | int | resources, | |
| std::vector< session * > & | _sessions, | |||
| resource_request session::* | res | |||
| ) |
Definition at line 167 of file allocate_resources.cpp.
References libtorrent::aux::allocate_resources_impl(), libtorrent::aux::deref(), and asio::placeholders::iterator.
| void libtorrent::allocate_resources | ( | int | resources, | |
| std::map< tcp::endpoint, peer_connection * > & | connections, | |||
| resource_request peer_connection::* | res | |||
| ) |
Definition at line 151 of file allocate_resources.cpp.
References libtorrent::aux::allocate_resources_impl(), asio::placeholders::iterator, and libtorrent::aux::pick_peer2().
| void libtorrent::allocate_resources | ( | int | resources, | |
| std::map< sha1_hash, boost::shared_ptr< torrent > > & | torrents, | |||
| resource_request torrent::* | res | |||
| ) |
Definition at line 135 of file allocate_resources.cpp.
References libtorrent::aux::allocate_resources_impl(), libtorrent::aux::deref(), and asio::placeholders::iterator.
Referenced by libtorrent::aux::session_impl::second_tick().
| std::string libtorrent::base64encode | ( | const std::string & | s | ) |
Definition at line 214 of file tracker_manager.cpp.
References libtorrent::dht::distance().
Referenced by libtorrent::http_tracker_connection::http_tracker_connection(), and libtorrent::web_peer_connection::write_request().
| entry libtorrent::bdecode | ( | InIt | start, | |
| InIt | end | |||
| ) | [inline] |
Definition at line 283 of file bencode.hpp.
References libtorrent::detail::bdecode_recursive(), and simple_client::e.
Referenced by add_torrent(), bdecode_(), vmsBtSessionImpl::CreateDownload(), decode(), vmsBtSessionImpl::DHT_start(), vmsBtFileImpl::LoadFromBuffer(), main(), libtorrent::bt_peer_connection::on_extended_handshake(), libtorrent::dht::dht_tracker::on_receive(), and libtorrent::http_tracker_connection::on_response().
| void libtorrent::bencode | ( | OutIt | out, | |
| const entry & | e | |||
| ) | [inline] |
Definition at line 277 of file bencode.hpp.
References libtorrent::detail::bencode_recursive().
Referenced by bencode_(), libtorrent::torrent_info::create_torrent(), vmsBtSessionImpl::DHT_getState(), encode(), vmsBtDownloadImpl::get_FastResumeData(), vmsBtFileImpl::get_TorrentBuffer(), main(), libtorrent::torrent_info::parse_info_section(), scan_dir(), libtorrent::dht::dht_tracker::send_packet(), and libtorrent::bt_peer_connection::write_extensions().
| Ret libtorrent::@291::call_member | ( | session_impl * | ses, | |
| aux::checker_impl * | chk, | |||
| sha1_hash const & | hash, | |||
| F | f | |||
| ) | [inline, static] |
Definition at line 64 of file torrent_handle.cpp.
References libtorrent::aux::session_impl::find_torrent(), libtorrent::aux::checker_impl::find_torrent(), l, libtorrent::aux::session_impl::m_mutex, libtorrent::aux::checker_impl::m_mutex, throw_invalid_handle(), and libtorrent::aux::piece_checker_data::torrent_ptr.
| libtorrent::catch | ( | ... | ) |
Definition at line 1895 of file peer_connection.cpp.
References libtorrent::aux::session_impl::connection_failed(), l, libtorrent::aux::session_impl::m_mutex, libtorrent::peer_connection::m_ses, libtorrent::peer_connection::m_socket, and libtorrent::peer_connection::remote().
| libtorrent::catch | ( | std::exception & | e | ) |
Definition at line 1890 of file peer_connection.cpp.
References libtorrent::aux::session_impl::connection_failed(), l, libtorrent::aux::session_impl::m_mutex, libtorrent::peer_connection::m_ses, libtorrent::peer_connection::m_socket, and libtorrent::peer_connection::remote().
| void libtorrent::check_invariant | ( | T const & | x | ) | [inline] |
Definition at line 24 of file invariant_check.hpp.
Referenced by libtorrent::bt_peer_connection::check_invariant(), libtorrent::invariant_checker_impl< T >::invariant_checker_impl(), and libtorrent::invariant_checker_impl< T >::~invariant_checker_impl().
| boost::optional< fingerprint > libtorrent::client_fingerprint | ( | peer_id const & | p | ) |
Definition at line 214 of file identify_client.cpp.
References parse_az_style(), parse_mainline_style(), and parse_shadow_style().
Referenced by client_fingerprint_(), and libtorrent::bt_peer_connection::on_receive().
| void libtorrent::close_socket_ignore_error | ( | boost::shared_ptr< stream_socket > | s | ) |
Definition at line 1365 of file peer_connection.cpp.
References simple_client::e.
Referenced by libtorrent::peer_connection::disconnect().
| bool libtorrent::@290::compare_first | ( | country_entry const & | lhs, | |
| country_entry const & | rhs | |||
| ) | [static] |
Definition at line 1396 of file torrent.cpp.
| boost::shared_ptr< torrent_plugin > libtorrent::create_logger_plugin | ( | torrent * | ) |
Definition at line 199 of file logger.cpp.
| boost::shared_ptr< torrent_plugin > libtorrent::create_metadata_plugin | ( | torrent * | t | ) |
| boost::shared_ptr< torrent_plugin > libtorrent::create_ut_pex_plugin | ( | torrent * | t | ) |
Definition at line 236 of file ut_pex.cpp.
References libtorrent::torrent_info::priv(), and libtorrent::torrent::torrent_file().
Referenced by main(), and vmsBtSessionImpl::vmsBtSessionImpl().
| int libtorrent::@281::div_round_up | ( | int | numerator, | |
| int | denominator | |||
| ) | [static] |
| std::string libtorrent::escape_path | ( | const char * | str, | |
| int | len | |||
| ) |
Definition at line 93 of file escape_string.cpp.
References count.
Referenced by libtorrent::web_peer_connection::on_receive(), and libtorrent::web_peer_connection::write_request().
| std::string libtorrent::escape_string | ( | const char * | str, | |
| int | len | |||
| ) |
Definition at line 59 of file escape_string.cpp.
References count.
Referenced by libtorrent::http_tracker_connection::http_tracker_connection().
| bool libtorrent::@283::exclusively_requested_from | ( | piece_picker::downloading_piece const & | p, | |
| int | num_blocks_in_piece, | |||
| tcp::endpoint | peer | |||
| ) | [static] |
Definition at line 800 of file piece_picker.cpp.
References libtorrent::piece_picker::downloading_piece::finished_blocks, libtorrent::piece_picker::downloading_piece::info, libtorrent::piece_picker::block_info::peer, and libtorrent::piece_picker::downloading_piece::requested_blocks.
Referenced by libtorrent::piece_picker::add_interesting_blocks_partial().
| std::vector<std::pair<size_type, std::time_t> > libtorrent::get_filesizes | ( | torrent_info const & | t, | |
| path | p | |||
| ) |
Definition at line 205 of file storage.cpp.
References libtorrent::torrent_info::begin_files(), and libtorrent::torrent_info::end_files().
| TORRENT_EXPORT std::vector<std::pair<size_type, std::time_t> > libtorrent::get_filesizes | ( | torrent_info const & | t, | |
| boost::filesystem::path | p | |||
| ) |
Referenced by libtorrent::torrent_handle::write_resume_data().
| int libtorrent::gzip_header | ( | const char * | buf, | |
| int | size | |||
| ) |
Definition at line 62 of file tracker_manager.cpp.
References FCOMMENT, FEXTRA, FHCRC, FNAME, FRESERVED, GZIP_MAGIC0, GZIP_MAGIC1, and Z_DEFLATED.
Referenced by inflate_gzip().
| std::string libtorrent::identify_client | ( | const peer_id & | p | ) |
Definition at line 231 of file identify_client.cpp.
References libtorrent::big_number::begin(), libtorrent::big_number::end(), find_string(), libtorrent::big_number::is_all_zeros(), lookup(), parse_az_style(), parse_mainline_style(), and parse_shadow_style().
Referenced by bind_utility(), main(), libtorrent::bt_peer_connection::on_receive(), and libtorrent::torrent::tracker_response().
| bool libtorrent::inflate_gzip | ( | std::vector< char > & | buffer, | |
| tracker_request const & | req, | |||
| request_callback * | requester, | |||
| int | maximum_tracker_response_length | |||
| ) |
Definition at line 136 of file tracker_manager.cpp.
References z_stream_s::avail_in, z_stream_s::avail_out, gzip_header(), inflate(), inflateEnd(), inflateInit2, z_stream_s::next_in, z_stream_s::next_out, z_stream_s::opaque, libtorrent::request_callback::tracker_request_error(), Z_NULL, Z_OK, Z_STREAM_END, Z_SYNC_FLUSH, z_stream_s::zalloc, and z_stream_s::zfree.
Referenced by libtorrent::http_tracker_connection::on_response().
| void libtorrent::intrusive_ptr_add_ref | ( | timeout_handler const * | c | ) |
Definition at line 269 of file tracker_manager.cpp.
References l, libtorrent::timeout_handler::m_mutex, and libtorrent::timeout_handler::m_refs.
| void libtorrent::intrusive_ptr_add_ref | ( | peer_connection const * | c | ) |
| void libtorrent::intrusive_ptr_release | ( | timeout_handler const * | c | ) |
Definition at line 277 of file tracker_manager.cpp.
References l, libtorrent::timeout_handler::m_mutex, and libtorrent::timeout_handler::m_refs.
| void libtorrent::intrusive_ptr_release | ( | peer_connection const * | c | ) |
| invariant_checker_impl<T> libtorrent::make_invariant_checker | ( | T const & | x | ) | [inline] |
Definition at line 63 of file invariant_check.hpp.
| bool libtorrent::match_filesizes | ( | torrent_info const & | t, | |
| path | p, | |||
| std::vector< std::pair< size_type, std::time_t > > const & | sizes, | |||
| std::string * | error | |||
| ) |
Definition at line 232 of file storage.cpp.
References libtorrent::torrent_info::begin_files(), libtorrent::torrent_info::end_files(), and libtorrent::torrent_info::num_files().
| TORRENT_EXPORT bool libtorrent::match_filesizes | ( | torrent_info const & | t, | |
| boost::filesystem::path | p, | |||
| std::vector< std::pair< size_type, std::time_t > > const & | sizes, | |||
| std::string * | error = 0 | |||
| ) |
Referenced by libtorrent::aux::piece_checker_data::parse_resume_data().
| std::pair<int, int> libtorrent::@281::offset_to_req | ( | std::pair< int, int > | offset, | |
| int | total_size | |||
| ) | [static] |
| std::ostream& libtorrent::operator<< | ( | std::ostream & | os, | |
| big_number const & | peer | |||
| ) | [inline] |
Definition at line 144 of file peer_id.hpp.
References libtorrent::big_number::begin(), and libtorrent::big_number::end().
| std::ostream& libtorrent::operator<< | ( | std::ostream & | os, | |
| const entry & | e | |||
| ) | [inline] |
Definition at line 57 of file ip_filter.hpp.
| std::istream& libtorrent::operator>> | ( | std::istream & | is, | |
| big_number & | peer | |||
| ) | [inline] |
Definition at line 156 of file peer_id.hpp.
References libtorrent::big_number::begin(), c, and libtorrent::big_number::end().
| tuple< std::string, std::string, int, std::string > libtorrent::parse_url_components | ( | std::string | url | ) |
Definition at line 405 of file tracker_manager.cpp.
References asio::placeholders::iterator.
Referenced by libtorrent::torrent::connect_to_url_seed(), libtorrent::torrent::on_proxy_name_lookup(), libtorrent::tracker_manager::queue_request(), and libtorrent::web_peer_connection::web_peer_connection().
| void libtorrent::random_sample_n | ( | InIter | start, | |
| InIter | end, | |||
| OutIter | out, | |||
| Distance | n | |||
| ) | [inline] |
Definition at line 45 of file random_sample.hpp.
References libtorrent::dht::distance().
Referenced by libtorrent::dht::node_impl::on_find().
| bool libtorrent::@296::range_contains | ( | peer_request const & | range, | |
| peer_request const & | req | |||
| ) | [static] |
Definition at line 252 of file web_peer_connection.cpp.
References libtorrent::peer_request::length, and libtorrent::peer_request::start.
Referenced by libtorrent::web_peer_connection::on_receive().
| std::pair<int, int> libtorrent::@281::req_to_offset | ( | std::pair< int, int > | req, | |
| int | total_size | |||
| ) | [static] |
Definition at line 43 of file metadata_transfer.cpp.
References div_round_up().
Referenced by offset_to_req().
| void libtorrent::request_a_block | ( | torrent & | t, | |
| peer_connection & | c, | |||
| std::vector< peer_connection * > | ignore = std::vector<peer_connection*>() | |||
| ) |
Definition at line 141 of file policy.cpp.
References libtorrent::peer_connection::add_request(), libtorrent::torrent::begin(), libtorrent::peer_connection::cancel_request(), libtorrent::peer_connection::desired_queue_size(), libtorrent::stat::download_payload_rate(), libtorrent::peer_connection::download_queue(), libtorrent::torrent::end(), libtorrent::peer_connection::get_bitfield(), libtorrent::peer_connection::get_socket(), libtorrent::peer_connection::has_peer_choked(), libtorrent::piece_picker::is_downloading(), libtorrent::torrent::is_seed(), asio::placeholders::iterator, libtorrent::piece_picker::pick_pieces(), libtorrent::torrent::picker(), libtorrent::torrent_info::piece_length(), libtorrent::peer_connection::prefer_whole_pieces(), libtorrent::peer_connection::proxy(), libtorrent::peer_connection::remote(), libtorrent::peer_connection::request_queue(), libtorrent::peer_connection::send_block_requests(), libtorrent::torrent::settings(), libtorrent::peer_connection::statistics(), libtorrent::torrent::torrent_file(), and libtorrent::session_settings::whole_pieces_threshold.
Referenced by libtorrent::policy::block_finished(), libtorrent::peer_connection::incoming_piece(), libtorrent::policy::peer_is_interesting(), libtorrent::peer_connection::second_tick(), and libtorrent::policy::unchoked().
| int libtorrent::saturated_add | ( | int | a, | |
| int | b | |||
| ) |
Definition at line 31 of file allocate_resources.cpp.
References libtorrent::resource_request::inf.
Referenced by libtorrent::aux::allocate_resources_impl(), and libtorrent::aux::allocate_resources_contract_check< It, T >::~allocate_resources_contract_check().
| void libtorrent::@291::throw_invalid_handle | ( | ) | [static] |
Definition at line 58 of file torrent_handle.cpp.
Referenced by call_member(), libtorrent::torrent_handle::connect_peer(), libtorrent::torrent_handle::file_progress(), libtorrent::torrent_handle::force_reannounce(), libtorrent::torrent_handle::get_download_queue(), libtorrent::torrent_handle::get_peer_info(), libtorrent::torrent_handle::get_torrent_info(), and libtorrent::torrent_handle::status().
| std::string libtorrent::unescape_string | ( | std::string const & | s | ) |
Definition at line 18 of file escape_string.cpp.
| std::wstring libtorrent::utf8_wchar | ( | const std::string & | str | ) | [inline] |
| void libtorrent::utf8_wchar | ( | const std::string & | utf8, | |
| std::wstring & | wide | |||
| ) | [inline] |
Definition at line 133 of file utf8.hpp.
References utf8_wchar().
Referenced by utf8_native(), and utf8_wchar().
| std::string libtorrent::wchar_utf8 | ( | const std::wstring & | str | ) | [inline] |
| void libtorrent::wchar_utf8 | ( | const std::wstring & | wide, | |
| std::string & | utf8 | |||
| ) | [inline] |
Definition at line 146 of file utf8.hpp.
References wchar_utf8().
Referenced by throw_exception(), and wchar_utf8().
const char libtorrent::extension_name[] = "ut_pex" [static] |
Definition at line 28 of file ut_pex.cpp.
| const int libtorrent::max_bandwidth_block_size = 33000 |
Definition at line 60 of file bandwidth_manager.hpp.
Referenced by libtorrent::torrent::assign_bandwidth(), libtorrent::torrent::expire_bandwidth(), libtorrent::bandwidth_manager::hand_out_bandwidth(), libtorrent::torrent::request_bandwidth(), and libtorrent::torrent::request_bandwidth_from_session().
| const int libtorrent::min_bandwidth_block_size = 4000 |
Definition at line 61 of file bandwidth_manager.hpp.
Referenced by libtorrent::bandwidth_manager::hand_out_bandwidth().
const pt::time_duration libtorrent::window_size = pt::seconds(1) [static] |
Definition at line 19 of file bandwidth_manager.cpp.
Referenced by libtorrent::bandwidth_manager::hand_out_bandwidth().
1.5.6