Home
last modified time | relevance | path

Searched refs:PEER_FLAG_COMPLETED (Results 1 – 4 of 4) sorted by relevance

/dports/net/opentracker/opentracker-0.2017.08.13/
H A Dtrackerlogic.c124 …if( ( OT_PEERFLAG( &ws->peer ) & ( PEER_FLAG_COMPLETED | PEER_FLAG_SEEDING ) ) == PEER_FLAG_COMPLE… in add_peer_to_torrent_and_return_peers()
125 OT_PEERFLAG( &ws->peer ) ^= PEER_FLAG_COMPLETED; in add_peer_to_torrent_and_return_peers()
138 if( OT_PEERFLAG(&ws->peer) & PEER_FLAG_COMPLETED ) { in add_peer_to_torrent_and_return_peers()
156 …( !(OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) && (OT_PEERFLAG(&ws->peer) & PEER_FLAG_COMPLETE… in add_peer_to_torrent_and_return_peers()
165 …if( !(OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) && (OT_PEERFLAG(&ws->peer) & PEER_FLAG_COMPL… in add_peer_to_torrent_and_return_peers()
169 if( OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) in add_peer_to_torrent_and_return_peers()
170 OT_PEERFLAG( &ws->peer ) |= PEER_FLAG_COMPLETED; in add_peer_to_torrent_and_return_peers()
H A Dtrackerlogic.h71 static const uint8_t PEER_FLAG_COMPLETED = 0x40; variable
H A Dot_udp.c145 case 1: OT_PEERFLAG( &ws->peer ) |= PEER_FLAG_COMPLETED; break; in handle_udp6()
H A Dot_http.c433 OT_PEERFLAG( &ws->peer ) |= PEER_FLAG_COMPLETED; in http_handle_announce()