Searched refs:PEER_FLAG_COMPLETED (Results 1 – 4 of 4) sorted by relevance
124 …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()
71 static const uint8_t PEER_FLAG_COMPLETED = 0x40; variable
145 case 1: OT_PEERFLAG( &ws->peer ) |= PEER_FLAG_COMPLETED; break; in handle_udp6()
433 OT_PEERFLAG( &ws->peer ) |= PEER_FLAG_COMPLETED; in http_handle_announce()