25#include <freeradius-devel/bio/bio_priv.h>
26#include <freeradius-devel/bio/packet.h>
78 if (rcode < 0)
return rcode;
89 if (rcode < 0)
return rcode;
165 if (rcode < 0)
return rcode;
static fr_bio_t * fr_bio_prev(fr_bio_t *bio)
static fr_bio_t * fr_bio_next(fr_bio_t *bio)
fr_bio_callback_t connected
called when the BIO is ready to be used
void * uctx
user ctx, caller can manually set it.
fr_bio_t * bio
underlying BIO(s) for IO
fr_bio_packet_io_t read_blocked
fr_bio_packet_cb_funcs_t cb
fr_bio_packet_callback_t eof
fr_bio_packet_io_t shutdown
fr_bio_packet_io_t write_blocked
fr_bio_packet_io_t write_resume
fr_bio_packet_io_t read_resume
fr_bio_packet_callback_t connected
fr_bio_packet_callback_t failed
fr_timer_t * ev
connection timeout
void fr_bio_cb_set(fr_bio_t *bio, fr_bio_cb_funcs_t const *cb)
int fr_bio_shutdown(fr_bio_t *bio)
Shut down a set of BIOs.
void fr_bio_packet_init(fr_bio_packet_t *my)
void fr_bio_packet_connected(fr_bio_t *bio)
Called when a particular BIO is connected.
static void fr_bio_packet_failed(fr_bio_t *bio)
static void fr_bio_packet_eof(fr_bio_t *bio)
static int fr_bio_packet_write_blocked(fr_bio_t *bio)
Inform all of the BIOs that the write is blocked.
static int fr_bio_packet_read_resume(fr_bio_t *bio)
static int fr_bio_packet_read_blocked(fr_bio_t *bio)
static int fr_bio_packet_shutdown(fr_bio_t *bio)
static int fr_bio_packet_write_resume(fr_bio_t *bio)
#define FR_TIMER_DELETE(_ev_p)