Home
last modified time | relevance | path

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

/net-tools-3.7.0/libcoap/src/
Dcoap_time.c17 static coap_time_t coap_clock_offset = 0; variable
36 coap_clock_offset = tv.tv_sec; in coap_clock_init()
78 *t = tmp + (tv.tv_sec - coap_clock_offset) * COAP_TICKS_PER_SECOND; in coap_ticks()
83 return coap_clock_offset + (t / COAP_TICKS_PER_SECOND); in coap_ticks_to_rt()