Home
last modified time | relevance | path

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

/third_party/libcoap/tests/
Dtest_session.c104 CU_ASSERT(good_enough(coap_calc_timeout(session, 0), timeout(ato, arf, 0))); in t_session3()
105 CU_ASSERT(good_enough(coap_calc_timeout(session, 12), timeout(ato, arf, 12))); in t_session3()
106 CU_ASSERT(good_enough(coap_calc_timeout(session, 55), timeout(ato, arf, 55))); in t_session3()
107 CU_ASSERT(good_enough(coap_calc_timeout(session, 83), timeout(ato, arf, 83))); in t_session3()
108 CU_ASSERT(good_enough(coap_calc_timeout(session, 117), timeout(ato, arf, 117))); in t_session3()
109 CU_ASSERT(good_enough(coap_calc_timeout(session, 210), timeout(ato, arf, 210))); in t_session3()
110 CU_ASSERT(good_enough(coap_calc_timeout(session, 255), timeout(ato, arf, 255))); in t_session3()
124 CU_ASSERT(good_enough(coap_calc_timeout(session, 0), timeout(ato, arf, 0))); in t_session4()
125 CU_ASSERT(good_enough(coap_calc_timeout(session, 12), timeout(ato, arf, 12))); in t_session4()
126 CU_ASSERT(good_enough(coap_calc_timeout(session, 55), timeout(ato, arf, 55))); in t_session4()
[all …]
/third_party/libcoap/include/coap3/
Dcoap_net_internal.h344 unsigned int coap_calc_timeout(coap_session_t *session, unsigned char r);
/third_party/libcoap/src/
Dcoap_session.c349 node->timeout = coap_calc_timeout(session, r); in coap_session_delay_pdu()
Dnet.c947 coap_calc_timeout(coap_session_t *session, unsigned char r) { in coap_calc_timeout() function
1329 node->timeout = coap_calc_timeout(session, r); in coap_send_internal()