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

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

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

Go to the source code of this file.

Data Structures

struct  fr_radius_server_fd_bio_t
 

Functions

fr_radius_server_fd_bio_tfr_radius_server_fd_bio_alloc (TALLOC_CTX *ctx, size_t read_size, fr_radius_server_config_t *cfg, fr_bio_fd_config_t const *fd_cfg)
 
int fr_radius_server_fd_bio_read (fr_bio_packet_t *bio, void **packet_ctx_p, fr_packet_t **packet_p, TALLOC_CTX *out_ctx, fr_pair_list_t *out)
 
int fr_radius_server_fd_bio_write (fr_bio_packet_t *bio, void *pctx, fr_packet_t *packet, fr_pair_list_t *list)
 

Detailed Description

RADIUS bio handlers for outgoing RADIUS private server sockets.

Id
281dfdde89fc906898207b07414b8f54bc021de5

Definition in file server_priv.h.


Data Structure Documentation

◆ fr_radius_server_fd_bio_t

struct fr_radius_server_fd_bio_t

Definition at line 34 of file server_priv.h.

+ Collaboration diagram for fr_radius_server_fd_bio_t:
Data Fields
uint8_t buffer[4096] temporary read buffer
fr_radius_server_config_t cfg
fr_bio_packet_t common
fr_bio_t * dedup
fr_bio_t * fd
fr_radius_server_bio_info_t info
fr_bio_t * mem
fr_rb_tree_t rb

Function Documentation

◆ fr_radius_server_fd_bio_alloc()

fr_radius_server_fd_bio_t* fr_radius_server_fd_bio_alloc ( TALLOC_CTX *  ctx,
size_t  read_size,
fr_radius_server_config_t cfg,
fr_bio_fd_config_t const *  fd_cfg 
)

Definition at line 58 of file server.c.

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

◆ fr_radius_server_fd_bio_read()

int fr_radius_server_fd_bio_read ( fr_bio_packet_t bio,
void **  packet_ctx_p,
fr_packet_t **  packet_p,
TALLOC_CTX *  out_ctx,
fr_pair_list_t out 
)

◆ fr_radius_server_fd_bio_write()

int fr_radius_server_fd_bio_write ( fr_bio_packet_t bio,
void *  pctx,
fr_packet_t packet,
fr_pair_list_t list 
)