MCPcopy Create free account

hub / github.com/GGist/bip-rs / functions

Functions1,430 in github.com/GGist/bip-rs

↓ 1 callersFunctionparse_client_max_requests
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:111
↓ 1 callersFunctionparse_client_tcp_port
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:57
↓ 1 callersFunctionparse_desired
(bytes: &[u8])
bip_utracker/src/announce.rs:508
↓ 1 callersFunctionparse_encoding
Parses the encoding from the root dictionary.
bip_metainfo/src/parse.rs:95
↓ 1 callersFunctionparse_event
(bytes: &[u8])
bip_utracker/src/announce.rs:381
↓ 1 callersFunctionparse_extension
(mut bytes: Bytes)
bip_peer/src/message/bits_ext/mod.rs:62
↓ 1 callersFunctionparse_extension_bits
Parse the given bytes for extension bits.
bip_handshake/src/message/extensions.rs:93
↓ 1 callersFunctionparse_extensions
(mut bytes: Bytes, extended: &ExtendedMessage, custom_prot: &mut P)
bip_peer/src/message/prot_ext/mod.rs:67
↓ 1 callersFunctionparse_file_dict
Parses the file dictionary from the file bencode.
bip_metainfo/src/parse.rs:141
↓ 1 callersFunctionparse_files_list
Parses the files list from the info dictionary.
bip_metainfo/src/parse.rs:133
↓ 1 callersFunctionparse_id_map
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:34
↓ 1 callersFunctionparse_info_bencode
Parses the info dictionary from the root dictionary.
bip_metainfo/src/parse.rs:101
↓ 1 callersFunctionparse_info_bytes
Parses the given info dictionary bytes and builds a Metainfo from them.
bip_metainfo/src/metainfo.rs:253
↓ 1 callersFunctionparse_message
Since these messages may come over a stream oriented protocol, if a message is incomplete the number of bytes needed will be returned. However, that n
bip_peer/src/message/mod.rs:196
↓ 1 callersFunctionparse_message_type
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:140
↓ 1 callersFunctionparse_meta_bytes
Parses the given metainfo bytes and builds a Metainfo from them.
bip_metainfo/src/metainfo.rs:103
↓ 1 callersFunctionparse_metadata_size
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:117
↓ 1 callersFunctionparse_our_ip
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:70
↓ 1 callersFunctionparse_path_list
Parses the path list from the file dictionary.
bip_metainfo/src/parse.rs:159
↓ 1 callersFunctionparse_path_str
Parses the path string from the path bencode.
bip_metainfo/src/parse.rs:165
↓ 1 callersFunctionparse_peers_v4
(bytes: &'a [u8])
bip_utracker/src/contact.rs:151
↓ 1 callersFunctionparse_peers_v6
(bytes: &'a [u8])
bip_utracker/src/contact.rs:251
↓ 1 callersFunctionparse_piece_index
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:145
↓ 1 callersFunctionparse_piece_length
Parses the piece length from the info dictionary.
bip_metainfo/src/parse.rs:109
↓ 1 callersFunctionparse_pieces
Parses the pieces from the info dictionary.
bip_metainfo/src/parse.rs:115
↓ 1 callersFunctionparse_port
(bytes: &[u8])
bip_peer/src/message/bits_ext/port.rs:39
↓ 1 callersFunctionparse_preference_v4
(bytes: &[u8])
bip_utracker/src/announce.rs:455
↓ 1 callersFunctionparse_preference_v6
(bytes: &[u8])
bip_utracker/src/announce.rs:466
↓ 1 callersFunctionparse_private
Parses the private flag from the info dictionary.
bip_metainfo/src/parse.rs:121
↓ 1 callersFunctionparse_protocol
(bytes: &[u8])
bip_handshake/src/message/protocol.rs:46
↓ 1 callersFunctionparse_real_protocol
(bytes: &[u8])
bip_handshake/src/message/protocol.rs:51
↓ 1 callersFunctionparse_remote_handshake
(bytes: &[u8])
bip_handshake/src/bittorrent/message.rs:59
↓ 1 callersFunctionparse_request
(bytes: &'a [u8])
bip_utracker/src/scrape.rs:106
↓ 1 callersFunctionparse_request
(bytes: &'a [u8])
bip_utracker/src/request.rs:121
↓ 1 callersFunctionparse_response
(bytes: &'a [u8])
bip_utracker/src/scrape.rs:173
↓ 1 callersFunctionparse_response
(bytes: &'a [u8])
bip_utracker/src/response.rs:114
↓ 1 callersFunctionparse_state
(bytes: &[u8])
bip_utracker/src/announce.rs:330
↓ 1 callersFunctionparse_stats
(bytes: &[u8])
bip_utracker/src/scrape.rs:51
↓ 1 callersFunctionparse_total_size
(root: &BDictAccess<K, V>)
bip_peer/src/message/bencode.rs:150
↓ 1 callersFunctionparts_from_compact_info
Panics if the size of compact_info is less than BYTES_PER_COMPACT_NODE_INFO.
bip_dht/src/message/compact_info.rs:140
↓ 1 callersFunctionpending_info_from_metadata_size
(metadata_size: i64)
bip_select/src/discovery/ut_metadata.rs:456
↓ 1 callersFunctionpick_initial_nodes
Picks a number of nodes from the sorted distance iterator to ping on the first round.
bip_dht/src/worker/lookup.rs:435
↓ 1 callersFunctionpick_iterate_nodes
Picks a number of nodes from the unsorted distance iterator to ping on iterative rounds.
bip_dht/src/worker/lookup.rs:454
↓ 1 callersFunctionpiece_is_complete
True if the piece is ready to be hashed and checked (full) as good or not.
bip_disk/src/disk/tasks/helpers/piece_checker.rs:251
↓ 1 callersMethodpoll_complete
(&mut self)
bip_select/src/uber.rs:345
↓ 1 callersMethodpoll_sink_state
(&mut self)
bip_select/src/uber.rs:279
↓ 1 callersMethodpoll_stream_state
(&mut self)
bip_select/src/uber.rs:300
↓ 1 callersMethodport
(&self)
bip_handshake/src/handshake/handshaker.rs:130
↓ 1 callersMethodport
(&self)
examples/get_metadata/src/main.rs:70
↓ 1 callersFunctionprecompute_assorted_nodes
Optionally returns the precomputed bucket positions for all assorted nodes.
bip_dht/src/routing/table.rs:344
↓ 1 callersFunctionprint_metainfo_overview
Print general information about the torrent.
bip_metainfo/examples/create_torrent.rs:64
↓ 1 callersFunctionprocess_blocks
Pushes the given bytes as piece blocks to the given sender, and blocks until all notifications of the blocks being processed have been received (does
bip_disk/benches/mod.rs:70
↓ 1 callersMethodprocess_request
Forward the request on to the appropriate handler method.
bip_utracker/src/server/dispatcher.rs:64
↓ 1 callersMethodprotocol
Protocol that this peer is operating over.
bip_handshake/src/message/complete.rs:25
↓ 1 callersMethodput
Put an un expired connection id into cache for the given addr.
bip_utracker/src/client/dispatcher.rs:417
↓ 1 callersFunctionrandom_node_id
Generates a random NodeId. TODO: Shouldnt use this in the future to get an id for the routing table, generate one from the security module to be comp
bip_dht/src/routing/table.rs:147
↓ 1 callersMethodread_file
(&self, file: &mut Self::File, offset: u64, buffer: &mut [u8])
bip_disk/src/disk/fs/mod.rs:56
↓ 1 callersMethodread_filters
(&self, block: B)
bip_handshake/src/filter/filters.rs:53
↓ 1 callersMethodreceived_message
(&mut self, _message: &M)
bip_peer/src/protocol/unit.rs:39
↓ 1 callersFunctionrecently_requested
Second scenario where a node has ever responded to one of our requests and is good if it has sent us a request recently. Returns the final status of
bip_dht/src/routing/node.rs:230
↓ 1 callersFunctionrecently_responded
First scenario where a node is good is if it has responded to one of our requests recently. Returns the status of the node where a Questionable statu
bip_dht/src/routing/node.rs:209
↓ 1 callersMethodrecv_data
(&mut self, info: PeerInfo, data: UtMetadataDataMessage)
bip_select/src/discovery/ut_metadata.rs:241
↓ 1 callersMethodrecv_finished
(&mut self, handshake_port: u16, table: &RoutingTable,
bip_dht/src/worker/lookup.rs:269
↓ 1 callersMethodrecv_reject
(&mut self, _info: PeerInfo, _reject: UtMetadataRejectMessage)
bip_select/src/discovery/ut_metadata.rs:264
↓ 1 callersMethodrecv_request
(&mut self, info: PeerInfo, request: UtMetadataRequestMessage)
bip_select/src/discovery/ut_metadata.rs:226
↓ 1 callersMethodrecv_response
Process a response received from some tracker and match it up against our sent requests.
bip_utracker/src/client/dispatcher.rs:154
↓ 1 callersMethodrefill_stored_ids
Refills our stored ids list with new ids and resets our current index.
bip_util/src/trans/locally_shuffled.rs:40
↓ 1 callersMethodremote_response
Record that the node sent us a response.
bip_dht/src/routing/node.rs:101
↓ 1 callersMethodremove_peer
(&mut self, info: PeerInfo)
bip_select/src/discovery/ut_metadata.rs:166
↓ 1 callersMethodremove_peer
(&mut self, peer: PeerInfo)
bip_select/src/revelation/honest.rs:116
↓ 1 callersMethodremove_torrent
(&self, hash: InfoHash)
bip_disk/src/disk/tasks/context.rs:76
↓ 1 callersMethodremove_torrent
(&mut self, metainfo: Metainfo)
bip_select/src/discovery/ut_metadata.rs:111
↓ 1 callersMethodremove_torrent
(&mut self, metainfo: &Metainfo)
bip_select/src/revelation/honest.rs:75
↓ 1 callersMethodretrieve_completed_download
(&mut self)
bip_select/src/discovery/ut_metadata.rs:271
↓ 1 callersMethodretrieve_piece_request
(&mut self)
bip_select/src/discovery/ut_metadata.rs:299
↓ 1 callersMethodretrieve_piece_response
(&mut self)
bip_select/src/discovery/ut_metadata.rs:334
↓ 1 callersFunctionrun_peer
(peer: P, info: PeerInfo, o_send: Sender<OPeerManagerMessage<P::Item>>, timer: Timer, build
bip_peer/src/manager/task.rs:40
↓ 1 callersMethodrun_with_diff
Run the given closures against NewGood and NewBad messages. Each of the messages will then either be dropped (NewBad) or converted to OldGood (NewGood
bip_disk/src/disk/tasks/helpers/piece_checker.rs:182
↓ 1 callersMethodrun_with_whole_pieces
Pass any pieces that have not been identified as OldGood into the callback which determines if the piece is good or bad so it can be marked as NewGood
bip_disk/src/disk/tasks/helpers/piece_checker.rs:193
↓ 1 callersMethodscrape
(&mut self, _: SocketAddr, id: u64, req: &ScrapeRequest<'b>, result: R)
bip_utracker/test/mod.rs:127
↓ 1 callersMethodscrape_response
Optionally return a reference to the underyling ScrapeResponse. If you know that the token associated with the response was retrived from a ScrapeReq
bip_utracker/src/client/mod.rs:85
↓ 1 callersFunctionsend_bytes
(socket: &UdpSocket, bytes: &[u8], addr: SocketAddr)
bip_dht/src/worker/messenger.rs:25
↓ 1 callersFunctionsend_message
(send: &Sender<OneshotTask>, bytes: Vec<u8>, addr: SocketAddr)
bip_dht/src/worker/messenger.rs:63
↓ 1 callersMethodsend_request
Process a request to be sent to the given address and associated with the given token.
bip_utracker/src/client/dispatcher.rs:133
↓ 1 callersMethodsent_message
(&mut self, _message: &M)
bip_peer/src/protocol/unit.rs:41
↓ 1 callersMethodset_source_addr
Provide the DHT with the source address. If this is not supplied we will use the OS default route.
bip_dht/src/builder.rs:175
↓ 1 callersMethodset_timeout_id
Sets a new timeout id.
bip_utracker/src/client/dispatcher.rs:369
↓ 1 callersMethodset_trackers
Set announce-list content
bip_metainfo/src/builder/mod.rs:68
↓ 1 callersMethodsink_buffer_capacity
Retrieve the sink buffer capacity.
bip_peer/src/manager/builder.rs:74
↓ 1 callersMethodsink_buffer_capacity
Retrieve the sink buffer capacity.
bip_disk/src/disk/builder.rs:47
↓ 1 callersMethodsink_buffer_size
Gets the sink buffer size.
bip_handshake/src/handshake/config.rs:61
↓ 1 callersMethodsplit_bucket
Tries to split the bucket at the specified index. Returns false if the split cannot be performed.
bip_dht/src/routing/table.rs:113
↓ 1 callersFunctionstart_hash_master
Start a master hasher which will take care of chunking sequential/overlapping pieces from the data given to it and giving updates to the hasher worker
bip_metainfo/src/builder/worker.rs:77
↓ 1 callersFunctionstart_hash_worker
Starts a hasher worker which will hash all of the buffers it receives.
bip_metainfo/src/builder/worker.rs:177
↓ 1 callersFunctionstart_mainline_dht
Spawns the necessary workers that make up our local DHT node and connects them via channels so that they can send and receive DHT messages.
bip_dht/src/worker/mod.rs:71
↓ 1 callersFunctionstart_progress_updater
(recv: Receiver<usize>, num_pieces: u64, mut progress: C)
bip_metainfo/src/builder/worker.rs:164
↓ 1 callersMethodstart_send
(&mut self, item: Self::SinkItem)
bip_peer/test/mod.rs:26
↓ 1 callersMethodstart_send
(&mut self, item: IDiskMessage)
bip_disk/src/disk/manager.rs:53
↓ 1 callersMethodstart_sink_state
Run the start_send logic for the current module for the given message.
bip_select/src/uber.rs:227
↓ 1 callersMethodstate
State reported by the client in the given request.
bip_utracker/src/announce.rs:104
← previousnext →501–600 of 1,430, ranked by callers