Home
last modified time | relevance | path

Searched refs:CRYPTO_SEND_PACKET_INTERVAL (Results 1 – 2 of 2) sorted by relevance

/dports/net-im/tox/c-toxcore-0.2.13/toxcore/
H A Dnet_crypto.h87 #define CRYPTO_SEND_PACKET_INTERVAL 1000 macro
H A Dnet_crypto.c2505 if ((CRYPTO_SEND_PACKET_INTERVAL + conn->temp_packet_sent_time) < temp_time) { in send_crypto_packets()
2510 && (CRYPTO_SEND_PACKET_INTERVAL + conn->last_request_packet_sent) < temp_time) { in send_crypto_packets()
2522 … (double)CRYPTO_SEND_PACKET_INTERVAL) + (double)PACKET_COUNTER_AVERAGE_INTERVAL; in send_crypto_packets()
2532 if (request_packet_interval > CRYPTO_SEND_PACKET_INTERVAL) { in send_crypto_packets()
2533 request_packet_interval = CRYPTO_SEND_PACKET_INTERVAL; in send_crypto_packets()
2721 sleep_time = CRYPTO_SEND_PACKET_INTERVAL; in send_crypto_packets()
3001 temp->current_sleep_time = CRYPTO_SEND_PACKET_INTERVAL; in new_net_crypto()