Searched refs:ack_random_factor (Results 1 – 5 of 5) sorted by relevance
148 coap_fixed_point_t ack_random_factor; /**< ack random factor backoff (default member390 #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) \
55 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() argument86 double rnd = 1 + (fp_to_double(ack_random_factor) - 1.0) * q_to_double(r); in timeout()
292 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()
97 Q(FRAC_BITS, session->ack_random_factor)
327 requests based on the ack_timeout, ack_random_factor and max_retransmit values.