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

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

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

Go to the source code of this file.

Functions

fr_bio_packet_tfr_radius_client_tcp_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_tcp_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 tcp sockets.

Id
79118273f79cd5437d8494c0d9e242edb762ff0d

Definition in file client_tcp.c.

Function Documentation

◆ fr_radius_client_tcp_bio_alloc()

fr_bio_packet_t* fr_radius_client_tcp_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 50 of file client_tcp.c.

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

◆ fr_radius_client_tcp_bio_write()

static int fr_radius_client_tcp_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_tcp.c.

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