Home
last modified time | relevance | path

Searched refs:ot_peerlist (Results 1 – 9 of 9) sorted by relevance

/dports/net/opentracker/opentracker-0.2017.08.13/
H A Dtrackerlogic.h88 struct ot_peerlist;
89 typedef struct ot_peerlist ot_peerlist; typedef
92 ot_peerlist *peer_list;
97 struct ot_peerlist { struct
170 void free_peerlist( ot_peerlist *peer_list );
H A Dtrackerlogic.c34 void free_peerlist( ot_peerlist *peer_list ) { in free_peerlist()
62 if( !( torrent->peer_list = malloc( sizeof (ot_peerlist) ) ) ) { in add_torrent_from_saved_state()
67 byte_zero( torrent->peer_list, sizeof( ot_peerlist ) ); in add_torrent_from_saved_state()
100 if( !( torrent->peer_list = malloc( sizeof (ot_peerlist) ) ) ) { in add_peer_to_torrent_and_return_peers()
106 byte_zero( torrent->peer_list, sizeof( ot_peerlist ) ); in add_peer_to_torrent_and_return_peers()
186 static size_t return_peers_all( ot_peerlist *peer_list, char *reply ) { in return_peers_all()
213 static size_t return_peers_selection( ot_peerlist *peer_list, size_t amount, char *reply ) { in return_peers_selection()
266 ot_peerlist *peer_list = torrent->peer_list; in return_peers_for_torrent()
351 static ot_peerlist dummy_list;
356 ot_peerlist *peer_list = &dummy_list; in remove_peer_from_torrent()
H A Dproxy.c137 if( !( torrent->peer_list = malloc( sizeof (ot_peerlist) ) ) ) { in add_peer_to_torrent_proxy()
143 byte_zero( torrent->peer_list, sizeof( ot_peerlist ) ); in add_peer_to_torrent_proxy()
172 ot_peerlist *peer_list = torrent->peer_list; in remove_peer_from_torrent_proxy()
184 void free_peerlist( ot_peerlist *peer_list ) { in free_peerlist()
612 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[tor_offset] ).peer_list; in streamsync_worker()
665 ot_peerlist *peer_list = torrent->peer_list; in streamsync_worker()
H A Dot_vector.h31 void vector_redistribute_buckets( ot_peerlist * peer_list );
H A Dot_clean.c50 ot_peerlist *peer_list = torrent->peer_list; in clean_single_torrent()
H A Dot_sync.c98 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[tor_offset] ).peer_list; in sync_make()
H A Dot_fullscrape.c161 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[tor_offset] ).peer_list; in fullscrape_make()
H A Dot_vector.c161 void vector_redistribute_buckets( ot_peerlist * peer_list ) { in vector_redistribute_buckets()
H A Dot_stats.c227 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[i] ).peer_list; in stats_slash24s_txt()
314 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[j] ).peer_list; in stats_top_txt()