Home
last modified time | relevance | path

Searched refs:coap_tick_t (Results 1 - 25 of 36) sorted by relevance

12

/third_party/libcoap/include/coap3/
H A Dcoap_time.h35 typedef uint32_t coap_tick_t; typedef
40 coap_ticks_impl(coap_tick_t *t) { in coap_ticks_impl()
52 coap_ticks_to_rt(coap_tick_t t) { in coap_ticks_to_rt()
57 coap_ticks_to_rt_us(coap_tick_t t) { in coap_ticks_to_rt_us()
65 typedef clock_time_t coap_tick_t; typedef
70 * values. This data type must have the same size in memory as coap_tick_t to
83 coap_ticks(coap_tick_t *t) { in coap_ticks()
88 coap_ticks_to_rt(coap_tick_t t) { in coap_ticks_to_rt()
93 coap_ticks_to_rt_us(coap_tick_t t) { in coap_ticks_to_rt_us()
106 typedef uint64_t coap_tick_t; typedef
144 typedef uint64_t coap_tick_t; global() typedef
[all...]
H A Dcoap_block_internal.h85 coap_tick_t last_seen;
131 coap_tick_t last_payload; /**< Last time MAX_PAYLOAD was sent or 0 */
132 coap_tick_t last_sent; /**< Last time any data sent */
133 coap_tick_t last_all_sent; /**< Last time all data sent or 0 */
134 coap_tick_t last_obs; /**< Last time used (Observe tracking) or 0 */
136 coap_tick_t non_timeout_random_ticks; /** Used for Q-Block */
169 coap_tick_t last_used; /**< Last time all data sent or 0 */
198 coap_tick_t last_used; /**< Last time data sent or 0 */
219 coap_tick_t now,
220 coap_tick_t *tim_re
[all...]
H A Dcoap_async_internal.h37 coap_tick_t delay; /**< When to delay to before triggering the response
55 coap_tick_t coap_check_async(coap_context_t *context, coap_tick_t now);
H A Dcoap_session_internal.h111 coap_tick_t last_rx_tx;
112 coap_tick_t last_tx_rst;
113 coap_tick_t last_ping;
114 coap_tick_t last_pong;
115 coap_tick_t csm_tx;
250 coap_tick_t coap_get_non_timeout_random_ticks(coap_session_t *session);
358 const coap_packet_t *packet, coap_tick_t now);
381 coap_tick_t now);
H A Dcoap_net.h531 void coap_ticks(coap_tick_t *);
704 coap_tick_t now
720 void coap_io_do_io(coap_context_t *ctx, coap_tick_t now);
741 unsigned int coap_io_prepare_epoll(coap_context_t *ctx, coap_tick_t now);
856 coap_tick_t now in coap_write()
872 coap_read(coap_context_t *ctx, coap_tick_t now in coap_read()
H A Dcoap_net_internal.h36 coap_tick_t t; /**< when to send PDU for the next time */
72 coap_tick_t sendqueue_basetime;
176 coap_tick_t next_timeout; /**< When the next timeout is to occur */
234 unsigned int coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now);
H A Dcoap_dtls_internal.h214 coap_tick_t coap_dtls_get_context_timeout(void *dtls_context);
224 coap_tick_t coap_dtls_get_timeout(coap_session_t *coap_session,
225 coap_tick_t now);
H A Dcoap_async.h58 coap_tick_t delay);
70 void coap_async_set_delay(coap_async_t *async, coap_tick_t delay);
H A Dcoap_cache_internal.h47 coap_tick_t expire_ticks;
H A Dcoap_io_internal.h159 void coap_update_epoll_timer(coap_context_t *context, coap_tick_t delay);
/third_party/libcoap/src/
H A Dcoap_time.c31 static coap_tick_t coap_clock_offset = 0;
81 #define SHR_FP(val,frac) (((coap_tick_t)((val) + (1 << ((frac) - 1)))) >> (frac))
84 coap_ticks(coap_tick_t *t) { in coap_ticks()
85 coap_tick_t tmp; in coap_ticks()
117 coap_ticks_to_rt(coap_tick_t t) { in coap_ticks_to_rt()
122 coap_ticks_to_rt_us(coap_tick_t t) { in coap_ticks_to_rt_us()
126 coap_tick_t
128 return (coap_tick_t)((t - (uint64_t)coap_clock_offset * 1000000) * COAP_TICKS_PER_SECOND / 1000000); in coap_ticks_from_rt_us()
H A Dcoap_async.c40 const coap_pdu_t *request, coap_tick_t delay) { in coap_register_async()
113 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) { in coap_async_set_delay()
114 coap_tick_t now; in coap_async_set_delay()
197 coap_tick_t delay) { in coap_register_async()
205 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) { in coap_async_set_delay()
H A Dcoap_notls.c187 coap_tick_t
192 coap_tick_t
193 coap_dtls_get_timeout(coap_session_t *session COAP_UNUSED, coap_tick_t now COAP_UNUSED) { in coap_dtls_get_timeout()
H A Dcoap_block.c868 coap_tick_t now; in coap_add_data_large_internal()
1138 coap_block_check_lg_xmit_timeouts(coap_session_t *session, coap_tick_t now, in coap_block_check_lg_xmit_timeouts()
1139 coap_tick_t *tim_rem) { in coap_block_check_lg_xmit_timeouts()
1143 coap_tick_t idle_timeout = 4 * COAP_NON_TIMEOUT_TICKS(session); in coap_block_check_lg_xmit_timeouts()
1145 coap_tick_t idle_timeout = 8 * COAP_TICKS_PER_SECOND; in coap_block_check_lg_xmit_timeouts()
1147 coap_tick_t partial_timeout = COAP_MAX_TRANSMIT_WAIT_TICKS(session); in coap_block_check_lg_xmit_timeouts()
1307 coap_block_check_lg_crcv_timeouts(coap_session_t *session, coap_tick_t now, in coap_block_check_lg_crcv_timeouts()
1308 coap_tick_t *tim_rem) { in coap_block_check_lg_crcv_timeouts()
1311 coap_tick_t partial_timeout; in coap_block_check_lg_crcv_timeouts()
1313 coap_tick_t receive_timeou in coap_block_check_lg_crcv_timeouts()
[all...]
H A Dcoap_io_contiki.c38 coap_tick_t now; in on_prepare_timer_expired()
218 coap_tick_t before, now; in coap_io_process()
H A Dcoap_net.c129 coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now) { in coap_adjust_basetime()
144 coap_tick_t t = 0; in coap_adjust_basetime()
145 while (q && (t + q->t < (coap_tick_t)delta)) { in coap_adjust_basetime()
154 q->t = (coap_tick_t)delta - t; in coap_adjust_basetime()
916 coap_tick_t now; in coap_wait_ack()
1624 coap_tick_t now; in coap_retransmit()
1625 coap_tick_t next_delay; in coap_retransmit()
1630 next_delay = (coap_tick_t)node->timeout << node->retransmit_cnt; in coap_retransmit()
1739 coap_connect_session(coap_session_t *session, coap_tick_t now) { in coap_connect_session()
1758 coap_write_session(coap_context_t *ctx, coap_session_t *session, coap_tick_t no
[all...]
H A Dcoap_io_lwip.c57 coap_tick_t before; in coap_io_process_timeout()
81 coap_tick_t before; in coap_io_process()
82 coap_tick_t now; in coap_io_process()
219 coap_tick_t now; in coap_recvs()
H A Dcoap_io.c610 coap_update_epoll_timer(coap_context_t *context, coap_tick_t delay) {
612 coap_tick_t now;
1305 coap_io_prepare_epoll(coap_context_t *ctx, coap_tick_t now) {
1328 coap_tick_t rem_timeout = ctx->next_timeout - now;
1359 coap_tick_t now) {
1362 coap_tick_t timeout = 0;
1363 coap_tick_t s_timeout;
1398 coap_tick_t tls_timeout = coap_dtls_get_context_timeout(ctx->dtls_context);
1415 coap_tick_t session_timeout;
1449 coap_tick_t tls_timeou
[all...]
H A Dcoap_tinydtls.c57 static coap_tick_t coap_tick_0 = 0;
810 coap_tick_t
818 return ((coap_tick_t)(next - dtls_tick_0)) * COAP_TICKS_PER_SECOND / DTLS_TICKS_PER_SECOND + in coap_dtls_get_context_timeout()
823 coap_tick_t
824 coap_dtls_get_timeout(coap_session_t *session, coap_tick_t now) { in coap_dtls_get_timeout()
H A Dcoap_debug.c121 print_timestamp(char *s, size_t len, coap_tick_t t) { in print_timestamp()
137 print_timestamp(char *s, size_t len, coap_tick_t t) { in print_timestamp()
1210 coap_tick_t now; in coap_log_impl()
/third_party/libcoap/tests/
H A Dtest_sendqueue.c24 static coap_tick_t timestamp[] = {
31 static coap_tick_t
33 coap_tick_t t = 0; in add_timestamps()
115 coap_tick_t now; in t_sendqueue5()
118 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()
/third_party/libcoap/examples/lwip/
H A Dserver-coap.c34 coap_tick_t now; in hnd_get_time()
35 coap_tick_t t; in hnd_get_time()
210 coap_tick_t ticks_now; in server_coap_poll()
/third_party/libcoap/examples/contiki/
H A Dserver.c76 coap_tick_t now; in hnd_get_time()
77 coap_tick_t t; in hnd_get_time()
/third_party/libcoap/examples/riot/examples_libcoap_server/
H A Dserver-coap.c39 coap_tick_t now; in hnd_get_time()
40 coap_tick_t t; in hnd_get_time()
/third_party/libcoap/include/oscore/
H A Doscore_context.h150 coap_tick_t last_seen;

Completed in 24 milliseconds

12