The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Handle RFC standard retransmissions. More...
#include <freeradius-devel/util/retry.h>
#include <freeradius-devel/util/rand.h>
#include <freeradius-devel/util/uint128.h>
Go to the source code of this file.
Functions | |
void | fr_retry_init (fr_retry_t *r, fr_time_t now, fr_retry_config_t const *config) |
Initialize a retransmission counter. More... | |
fr_retry_state_t | fr_retry_next (fr_retry_t *r, fr_time_t now) |
Initialize a retransmission counter. More... | |
void fr_retry_init | ( | fr_retry_t * | r, |
fr_time_t | now, | ||
fr_retry_config_t const * | config | ||
) |
Initialize a retransmission counter.
[in,out] | r | the retransmission structure |
now | when the retransmission starts | |
config | the counters to track. They shouldn't change while the retransmission is happening |
Definition at line 36 of file retry.c.
fr_retry_state_t fr_retry_next | ( | fr_retry_t * | r, |
fr_time_t | now | ||
) |
Initialize a retransmission counter.
[in,out] | r | the retransmission structure |
now | the current time |
Definition at line 108 of file retry.c.