Searched refs:coap_tick_t (Results 1 – 14 of 14) sorted by relevance
/net-tools-latest/libcoap/include/coap/ |
D | coap_time.h | 32 typedef uint32_t coap_tick_t; typedef 36 static inline void coap_ticks_impl(coap_tick_t *t) { in coap_ticks_impl() 46 static inline coap_time_t coap_ticks_to_rt(coap_tick_t t) { in coap_ticks_to_rt() 54 typedef clock_time_t coap_tick_t; typedef 70 static inline void coap_ticks(coap_tick_t *t) { in coap_ticks() 74 static inline coap_time_t coap_ticks_to_rt(coap_tick_t t) { in coap_ticks_to_rt() 84 typedef unsigned long coap_tick_t; typedef 109 void coap_ticks(coap_tick_t *t); 121 coap_time_t coap_ticks_to_rt(coap_tick_t t); 128 static inline int coap_time_lt(coap_tick_t a, coap_tick_t b) { in coap_time_lt() [all …]
|
D | net.h | 33 coap_tick_t t; /**< when to send PDU for the next time */ 89 coap_tick_t sendqueue_basetime; 162 unsigned int coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now); 471 void coap_ticks(coap_tick_t *);
|
D | async.h | 39 coap_tick_t created;
|
/net-tools-latest/libcoap/tests/ |
D | test_sendqueue.c | 22 static coap_tick_t timestamp[] = { 29 static coap_tick_t 31 coap_tick_t t = 0; in add_timestamps() 113 coap_tick_t now; in t_sendqueue5() 117 static coap_tick_t times[sizeof(timestamp)/sizeof(coap_tick_t)]; in t_sendqueue5() 161 coap_tick_t now; in t_sendqueue6() 166 static coap_tick_t times[sizeof(timestamp)/sizeof(coap_tick_t)]; in t_sendqueue6()
|
/net-tools-latest/libcoap/src/ |
D | coap_time.c | 40 #define Q(frac,fval) ((coap_tick_t)(((1 << (frac)) * (fval)))) 49 coap_ticks(coap_tick_t *t) { in coap_ticks() 82 coap_ticks_to_rt(coap_tick_t t) { in coap_ticks_to_rt()
|
D | debug.c | 77 print_timestamp(char *s, size_t len, coap_tick_t t) { in print_timestamp() 87 print_timestamp(char *s, size_t len, coap_tick_t t) { in print_timestamp() 485 coap_tick_t now; in coap_log_impl()
|
D | net.c | 180 coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now) { in coap_adjust_basetime() 195 coap_tick_t t = 0; in coap_adjust_basetime() 196 while (q && (t + q->t < (coap_tick_t)delta)) { in coap_adjust_basetime() 205 q->t = (coap_tick_t)delta - t; in coap_adjust_basetime() 707 coap_tick_t now; in coap_send_confirmed() 1655 coap_tick_t now; 1711 coap_tick_t now; 1712 coap_tick_t elapsed; 1741 coap_tick_t now, elapsed, delay;
|
/net-tools-latest/libcoap/examples/contiki/ |
D | server.c | 100 coap_tick_t now; in hnd_get_time() 101 coap_tick_t t; in hnd_get_time()
|
D | coap-observer.c | 50 static coap_tick_t last_seen = 0;
|
/net-tools-latest/libcoap/examples/ |
D | coap-server.c | 104 coap_tick_t t; in hnd_get_time() 166 coap_tick_t t; in hnd_put_time() 250 coap_tick_t now) { in check_async() 452 coap_tick_t now; in main()
|
D | client.c | 59 coap_tick_t max_wait; /* global timeout (changed by set_timeout()) */ 62 coap_tick_t obs_wait = 0; /* timeout for current subscription */ 73 set_timeout(coap_tick_t *timer, const unsigned int seconds) { in set_timeout() 1032 coap_tick_t now; in main()
|
D | etsi_iot_01.c | 455 check_async(coap_context_t *ctx, coap_tick_t now) { in check_async() 678 coap_tick_t now; in main()
|
D | coap-rd.c | 451 coap_tick_t now; in hnd_post_rd() 679 coap_tick_t now; in main()
|
/net-tools-latest/ |
D | coap-client.c | 153 static coap_tick_t max_wait; 155 static coap_tick_t obs_wait = 0; /* timeout for current subscription */ 381 static void set_coap_timeout(coap_tick_t *timer, const unsigned int seconds) in set_coap_timeout() 1583 coap_tick_t now;
|