Home
last modified time | relevance | path

Searched refs:FLAG_TCP (Results 1 – 7 of 7) sorted by relevance

/dports/net/opentracker/opentracker-0.2017.08.13/
H A Dopentracker.c234 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 Dopentracker-ipv6.c234 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 Dot_http.c112 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 Dtrackerlogic.c82 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 Dot_stats.c639 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 Dot_sync.c144 stats_issue_event( EVENT_SYNC_OUT, FLAG_TCP, iovec_length( &iovec_entries, &iovector) ); in sync_worker()
H A Dtrackerlogic.h65 typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA, FLAG_SELFPIPE } PROTO_FLAG; enumerator