The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Functions to support RADIUS bio handlers for server udp sockets. More...
#include <freeradius-devel/bio/packet.h>
#include <freeradius-devel/radius/server_udp.h>
#include <freeradius-devel/radius/server_priv.h>
Go to the source code of this file.
Functions | |
fr_bio_packet_t * | fr_radius_server_udp_bio_alloc (TALLOC_CTX *ctx, fr_radius_server_config_t *cfg, fr_bio_fd_config_t const *fd_cfg) |
Allocate a RADIUS bio for receiving packets from clients. More... | |
static int | fr_radius_server_udp_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) |
static fr_bio_dedup_entry_t * | radius_server_dedup_get_item (UNUSED fr_bio_t *bio, void *packet_ctx) |
static bool | radius_server_dedup_receive (fr_bio_t *bio, fr_bio_dedup_entry_t *dedup_ctx, void *packet_ctx) |
static void | radius_server_dedup_release (fr_bio_t *bio, fr_bio_dedup_entry_t *dedup_ctx, UNUSED fr_bio_dedup_release_reason_t reason) |
Functions to support RADIUS bio handlers for server udp sockets.
Definition in file server_udp.c.
fr_bio_packet_t* fr_radius_server_udp_bio_alloc | ( | TALLOC_CTX * | ctx, |
fr_radius_server_config_t * | cfg, | ||
fr_bio_fd_config_t const * | fd_cfg | ||
) |
Allocate a RADIUS bio for receiving packets from clients.
It also verifies that the packets we receive are valid for RADIUS.
Definition at line 107 of file server_udp.c.
|
static |
Definition at line 76 of file server_udp.c.
|
static |
|
static |
Definition at line 31 of file server_udp.c.
|
static |
Definition at line 67 of file server_udp.c.