Home
last modified time | relevance | path

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

/third_party/libcoap/include/coap3/
Dcoap_session_internal.h148 coap_fixed_point_t ack_random_factor; /**< ack random factor backoff (default member
390 #define COAP_ACK_RANDOM_FACTOR(s) ((s)->ack_random_factor)
424 ((s)->ack_random_factor.integer_part * 1000 + \
425 (s)->ack_random_factor.fractional_part) \
437 ((s)->ack_random_factor.integer_part * 1000 + \
438 (s)->ack_random_factor.fractional_part) \
/third_party/libcoap/tests/
Dtest_session.c55 CU_ASSERT(fpeq(session->ack_random_factor, COAP_DEFAULT_ACK_RANDOM_FACTOR)); in t_session2()
82 const coap_fixed_point_t ack_random_factor, in timeout() argument
86 double rnd = 1 + (fp_to_double(ack_random_factor) - 1.0) * q_to_double(r); in timeout()
/third_party/libcoap/src/
Dcoap_session.c292 session->ack_random_factor = value; in coap_session_set_ack_random_factor()
294 coap_session_str(session), session->ack_random_factor.integer_part, in coap_session_set_ack_random_factor()
295 session->ack_random_factor.fractional_part); in coap_session_set_ack_random_factor()
415 return session->ack_random_factor; in coap_session_get_ack_random_factor()
564 session->ack_random_factor = COAP_DEFAULT_ACK_RANDOM_FACTOR; in coap_make_session()
Dcoap_net.c97 Q(FRAC_BITS, session->ack_random_factor)
/third_party/libcoap/man/
Dcoap_recovery.txt.in327 requests based on the ack_timeout, ack_random_factor and max_retransmit values.