25 RCSIDH(lib_bio_packet_h,
"$Id: 6426d5d9f6f456d0d160edab6a2be4fac1b341ba $")
27 #include <freeradius-devel/util/packet.h>
28 #include <freeradius-devel/bio/base.h>
fr_bio_write_t _CONST write
write to the underlying bio
fr_bio_read_t _CONST read
read from the underlying bio
fr_bio_t * bio
underlying bio for IO
static int fr_bio_packet_read(fr_bio_packet_t *bio, void **request_ctx_p, fr_packet_t **packet_p, TALLOC_CTX *out_ctx, fr_pair_list_t *out)
Read a packet from a packet BIO.
fr_bio_packet_write_t write
write to the underlying bio
int(* fr_bio_packet_read_t)(fr_bio_packet_t *bio, void **request_ctx_p, fr_packet_t **packet_p, TALLOC_CTX *out_ctx, fr_pair_list_t *out)
Read a packet and pairs from the network.
static int fr_bio_packet_write(fr_bio_packet_t *bio, void *request_ctx, fr_packet_t *packet, fr_pair_list_t *list)
Write a packet to a packet BIO.
int(* fr_bio_packet_write_t)(fr_bio_packet_t *bio, void *request_ctx, fr_packet_t *packet, fr_pair_list_t *list)
Write a packet and pairs from the network.
int(* fr_bio_packet_release_t)(fr_bio_packet_t *bio, fr_packet_t *packet)
Release an outgoing packet.
void * uctx
user ctx, caller can manually set it.
fr_bio_packet_read_t read
read from the underlying bio
#define request_ctx
Talloc ctx for allocating request pairs under.
static size_t char ** out