Lines Matching refs:now
1443 dtls_tick_t now; in dtls_send_multi() local
1444 dtls_ticks(&now); in dtls_send_multi()
1445 n->t = now + 2 * CLOCK_SECOND; in dtls_send_multi()
1746 dtls_tick_t now; in dtls_send_server_hello() local
1761 dtls_ticks(&now); in dtls_send_server_hello()
1762 dtls_int_to_uint32(handshake->tmp.random.server, now / CLOCK_SECOND); in dtls_send_server_hello()
2317 dtls_tick_t now; in dtls_send_client_hello() local
2340 dtls_ticks(&now); in dtls_send_client_hello()
2341 dtls_int_to_uint32(handshake->tmp.random.client, now / CLOCK_SECOND); in dtls_send_client_hello()
3742 dtls_tick_t now; in dtls_new_context() local
3748 dtls_ticks(&now); in dtls_new_context()
3751 dtls_prng_init(now); in dtls_new_context()
3788 c->cookie_secret_age = now; in dtls_new_context()
3901 dtls_tick_t now; in dtls_retransmit() local
3904 dtls_ticks(&now); in dtls_retransmit()
3906 node->t = now + (node->timeout << node->retransmit_cnt); in dtls_retransmit()
3958 dtls_tick_t now; in dtls_check_retransmit() local
3961 dtls_ticks(&now); in dtls_check_retransmit()
3962 while (node && node->t <= now) { in dtls_check_retransmit()
3978 clock_time_t now; in PROCESS_THREAD() local
3992 now = clock_time(); in PROCESS_THREAD()
3993 if (node && node->t <= now) { in PROCESS_THREAD()
4001 node->t <= now ? 1 : node->t - now); in PROCESS_THREAD()