Searched refs:FLAG_TCP (Results 1 – 7 of 7) sorted by relevance
/dports/net/opentracker/opentracker-0.2017.08.13/ |
H A D | opentracker.c | 234 stats_issue_event( EVENT_ACCEPT, FLAG_TCP, (uintptr_t)ip); in handle_accept() 268 if( (intptr_t)cookie == FLAG_TCP ) in server_mainloop() 299 int64 sock = proto == FLAG_TCP ? socket_tcp6( ) : socket_udp6( ); in ot_try_bind() 325 if( ( proto == FLAG_TCP ) && ( socket_listen( sock, SOMAXCONN) == -1 ) ) in ot_try_bind() 413 ot_try_bind( tmpip, tmpport, FLAG_TCP ); ++bound; in parse_configfile() 418 ot_try_bind( tmpip, tmpport, FLAG_TCP ); in parse_configfile() 591 ot_try_bind( serverip, tmpport, FLAG_TCP ); bound++; break; in main() 623 ot_try_bind( serverip, 6969, FLAG_TCP ); in main()
|
H A D | opentracker-ipv6.c | 234 stats_issue_event( EVENT_ACCEPT, FLAG_TCP, (uintptr_t)ip); in handle_accept() 268 if( (intptr_t)cookie == FLAG_TCP ) in server_mainloop() 299 int64 sock = proto == FLAG_TCP ? socket_tcp6( ) : socket_udp6( ); in ot_try_bind() 325 if( ( proto == FLAG_TCP ) && ( socket_listen( sock, SOMAXCONN) == -1 ) ) in ot_try_bind() 413 ot_try_bind( tmpip, tmpport, FLAG_TCP ); ++bound; in parse_configfile() 418 ot_try_bind( tmpip, tmpport, FLAG_TCP ); in parse_configfile() 591 ot_try_bind( serverip, tmpport, FLAG_TCP ); bound++; break; in main() 623 ot_try_bind( serverip, 6969, FLAG_TCP ); in main()
|
H A D | ot_http.c | 112 stats_issue_event( EVENT_FAILED, FLAG_TCP, code ); in http_issue_error() 347 stats_issue_event( EVENT_SCRAPE, FLAG_TCP, ws->reply_size ); in http_handle_scrape() 523 ws->reply_size = remove_peer_from_torrent( FLAG_TCP, ws ); in http_handle_announce() 525 ws->reply_size = add_peer_to_torrent_and_return_peers( FLAG_TCP, ws, numwant ); in http_handle_announce() 527 stats_issue_event( EVENT_ANNOUNCE, FLAG_TCP, ws->reply_size); in http_handle_announce()
|
H A D | trackerlogic.c | 82 if( proto == FLAG_TCP ) { in add_peer_to_torrent_and_return_peers() 272 if( proto == FLAG_TCP ) { in return_peers_for_torrent() 289 if( proto == FLAG_TCP ) in return_peers_for_torrent() 374 if( proto == FLAG_TCP ) { in remove_peer_from_torrent()
|
H A D | ot_stats.c | 639 if( proto == FLAG_TCP ) ot_overall_tcp_connections++; else ot_overall_udp_connections++; in stats_issue_event() 645 …if( proto == FLAG_TCP ) ot_overall_tcp_successfulannounces++; else ot_overall_udp_successfulannoun… in stats_issue_event() 648 if( proto == FLAG_TCP ) ot_overall_tcp_connects++; else ot_overall_udp_connects++; in stats_issue_event() 681 …if( proto == FLAG_TCP ) ot_overall_tcp_successfulscrapes++; else ot_overall_udp_successfulscrapes+… in stats_issue_event()
|
H A D | ot_sync.c | 144 stats_issue_event( EVENT_SYNC_OUT, FLAG_TCP, iovec_length( &iovec_entries, &iovector) ); in sync_worker()
|
H A D | trackerlogic.h | 65 typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA, FLAG_SELFPIPE } PROTO_FLAG; enumerator
|