26 RCSIDH(radius_client_h,
"$Id: c5fd9bb799851ac25e770eea71cfe918c8306e07 $")
28 #include <freeradius-devel/radius/radius.h>
29 #include <freeradius-devel/radius/bio.h>
30 #include <freeradius-devel/bio/packet.h>
31 #include <freeradius-devel/bio/fd.h>
32 #include <freeradius-devel/bio/retry.h>
fr_dcursor_eval_t void const * uctx
@ FR_RADIUS_CODE_MAX
Maximum possible protocol code.
Configuration for sockets.
Run-time status of the socket.
Stores all information relating to an event list.
fr_radius_bio_verify_t verify
fr_bio_packet_t * fr_radius_client_bio_alloc(TALLOC_CTX *ctx, fr_radius_client_config_t *cfg, fr_bio_fd_config_t const *fd_cfg)
fr_time_t last_reply
When we last received a reply.
size_t outstanding
total number of outstanding packets.
fr_time_t mrs_time
Most recent sent time which had a reply.
int fr_radius_client_fd_bio_cancel(fr_bio_packet_t *bio, fr_packet_t *packet)
Cancel one packet.
fr_time_t last_sent
last time we sent a packet.
fr_bio_retry_info_t const * retry_info
fr_bio_retry_config_t retry_cfg
fr_bio_fd_info_t const * fd_info
fr_bio_packet_cb_funcs_t packet_cb_cfg
void fr_radius_client_bio_connect(fr_event_list_t *el, int fd, int flags, void *uctx)
int fr_radius_client_bio_force_id(fr_bio_packet_t *bio, int code, int id)
fr_time_t first_sent
first time we sent a packet since going idle
fr_radius_client_bio_info_t const * fr_radius_client_bio_info(fr_bio_packet_t *bio)
fr_time_t last_idle
last time we had nothing to do
size_t fr_radius_client_bio_outstanding(fr_bio_packet_t *bio)
fr_time_delta_t connection_timeout
A time delta, a difference in time measured in nanoseconds.
static fr_event_list_t * el