Searched refs:timeleft (Results 1 – 3 of 3) sorted by relevance
310 int dtls1_get_timeout(const SSL_CONNECTION *s, OSSL_TIME *timeleft) in dtls1_get_timeout() argument326 *timeleft = ossl_time_subtract(s->d1->next_timeout, timenow); in dtls1_get_timeout()327 if (ossl_time_compare(*timeleft, ossl_ms2time(15)) <= 0) in dtls1_get_timeout()328 *timeleft = ossl_time_zero(); in dtls1_get_timeout()334 OSSL_TIME timeleft; in dtls1_is_timer_expired() local337 if (!dtls1_get_timeout(s, &timeleft)) in dtls1_is_timer_expired()341 if (!ossl_time_is_zero(timeleft)) in dtls1_is_timer_expired()
2694 __owur int dtls1_get_timeout(const SSL_CONNECTION *s, OSSL_TIME *timeleft);
307 OSSL_TIME timeleft; in dgram_adjust_rcv_timeout() local334 timeleft = ossl_time_subtract(data->next_timeout, ossl_time_now()); in dgram_adjust_rcv_timeout()335 if (ossl_time_compare(timeleft, ossl_ticks2time(OSSL_TIME_US)) < 0) in dgram_adjust_rcv_timeout()336 timeleft = ossl_ticks2time(OSSL_TIME_US); in dgram_adjust_rcv_timeout()343 || ossl_time_compare(data->socket_timeout, timeleft) >= 0) { in dgram_adjust_rcv_timeout()345 timeout = (int)ossl_time2ms(timeleft); in dgram_adjust_rcv_timeout()351 tv = ossl_time_to_timeval(timeleft); in dgram_adjust_rcv_timeout()
Completed in 32 milliseconds