The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
client_udp.c File Reference

Functions to support RADIUS bio handlers for client udp sockets. More...

#include <freeradius-devel/bio/packet.h>
#include <freeradius-devel/radius/client_udp.h>
#include <freeradius-devel/radius/client_priv.h>
+ Include dependency graph for client_udp.c:

Go to the source code of this file.

Functions

fr_bio_packet_tfr_radius_client_udp_bio_alloc (TALLOC_CTX *ctx, fr_radius_client_config_t *cfg, fr_bio_fd_config_t const *fd_cfg)
 Allocate a RADIUS bio for writing client packets. More...
 
static int fr_radius_client_udp_bio_write (fr_bio_packet_t *bio, void *pctx, fr_packet_t *packet, fr_pair_list_t *list)
 Allocate an ID, and write one packet. More...
 

Detailed Description

Functions to support RADIUS bio handlers for client udp sockets.

Id
d008b485e3de2b438624e00575e63ab4252c0a06

Definition in file client_udp.c.

Function Documentation

◆ fr_radius_client_udp_bio_alloc()

fr_bio_packet_t* fr_radius_client_udp_bio_alloc ( TALLOC_CTX *  ctx,
fr_radius_client_config_t cfg,
fr_bio_fd_config_t const *  fd_cfg 
)

Allocate a RADIUS bio for writing client packets.

It also verifies that the packets we receive are valid for RADIUS.

Definition at line 51 of file client_udp.c.

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

◆ fr_radius_client_udp_bio_write()

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

Allocate an ID, and write one packet.

Definition at line 34 of file client_udp.c.

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