The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Functions
client_priv.h File Reference

RADIUS bio handlers for outgoing RADIUS private client sockets. More...

#include <freeradius-devel/radius/client.h>
#include <freeradius-devel/radius/id.h>
+ Include dependency graph for client_priv.h:

Go to the source code of this file.

Data Structures

struct  fr_radius_client_fd_bio_t
 

Functions

fr_radius_client_fd_bio_tfr_radius_client_fd_bio_alloc (TALLOC_CTX *ctx, size_t read_size, fr_radius_client_config_t *cfg, fr_bio_fd_config_t const *fd_cfg)
 
int fr_radius_client_fd_bio_read (fr_bio_packet_t *bio, void **request_ctx_p, fr_packet_t **packet_p, TALLOC_CTX *out_ctx, fr_pair_list_t *out)
 
int fr_radius_client_fd_bio_write (fr_radius_client_fd_bio_t *my, void *request_ctx, fr_packet_t *packet, fr_pair_list_t *list)
 

Detailed Description

RADIUS bio handlers for outgoing RADIUS private client sockets.

Id
f216f36d57335667083f68ec36cdf67c8ebc4878

Definition in file client_priv.h.


Data Structure Documentation

◆ fr_radius_client_fd_bio_t

struct fr_radius_client_fd_bio_t

Definition at line 34 of file client_priv.h.

+ Collaboration diagram for fr_radius_client_fd_bio_t:
Data Fields
bool all_ids_used All IDs are used.
uint8_t buffer[4096] temporary read buffer
fr_radius_client_config_t cfg
fr_radius_code_id_t codes
fr_bio_packet_t common
fr_bio_t * fd
fr_radius_client_bio_info_t info
fr_bio_t * mem
fr_radius_ctx_t proto_ctx
fr_socket_t reply_socket
fr_bio_t * retry

Function Documentation

◆ fr_radius_client_fd_bio_alloc()

fr_radius_client_fd_bio_t* fr_radius_client_fd_bio_alloc ( TALLOC_CTX *  ctx,
size_t  read_size,
fr_radius_client_config_t cfg,
fr_bio_fd_config_t const *  fd_cfg 
)

Definition at line 74 of file client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_radius_client_fd_bio_read()

int fr_radius_client_fd_bio_read ( fr_bio_packet_t bio,
void **  request_ctx_p,
fr_packet_t **  packet_p,
TALLOC_CTX *  out_ctx,
fr_pair_list_t out 
)

◆ fr_radius_client_fd_bio_write()

int fr_radius_client_fd_bio_write ( fr_radius_client_fd_bio_t my,
void *  request_ctx,
fr_packet_t packet,
fr_pair_list_t list 
)

Definition at line 187 of file client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: