RADIUS bio handlers for tracking 8-bit IDs.
More...
#include <freeradius-devel/radius/radius.h>
Go to the source code of this file.
|
| static int | fr_radius_code_id_alloc (TALLOC_CTX *ctx, fr_radius_code_id_t codes, fr_radius_packet_code_t code) |
| |
| static fr_radius_id_ctx_t * | fr_radius_code_id_find (fr_radius_code_id_t codes, fr_radius_packet_code_t code, int id) |
| |
| static int | fr_radius_code_id_force (fr_radius_code_id_t codes, fr_radius_packet_code_t code, int id) |
| |
| static fr_radius_id_ctx_t * | fr_radius_code_id_pop (fr_radius_code_id_t codes, fr_packet_t *packet) |
| |
| static void | fr_radius_code_id_push (fr_radius_code_id_t codes, fr_packet_t const *packet) |
| |
| fr_radius_id_t * | fr_radius_id_alloc (TALLOC_CTX *ctx) |
| | Allocate a tracking structure for one packet code.
|
| |
| fr_radius_id_ctx_t * | fr_radius_id_find (fr_radius_id_t *track, int id) |
| |
| int | fr_radius_id_force (fr_radius_id_t *track, int id) |
| | Forces the next ID to be the given one.
|
| |
| fr_radius_id_ctx_t * | fr_radius_id_pop (fr_radius_id_t *track, fr_packet_t *packet) |
| | Allocate an ID for a packet, using LRU.
|
| |
| void | fr_radius_id_push (fr_radius_id_t *track, fr_packet_t const *packet) |
| | De-allocate an ID for a packet, using LRU.
|
| |
RADIUS bio handlers for tracking 8-bit IDs.
- Id
- 0ae4fe9d6e19e9a953fa420c85dd9fa8e4684773
- Copyright
- 2024 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file id.h.
◆ fr_radius_id_ctx_t
| struct fr_radius_id_ctx_t |
Definition at line 34 of file id.h.
| Data Fields |
|
fr_packet_t * |
packet |
outgoing packet |
|
void * |
request_ctx |
for the application to track |
|
fr_packet_t * |
response |
response to outgoing packet |
|
void * |
retry_ctx |
to find the retry information |
◆ fr_radius_code_id_t
Definition at line 32 of file id.h.
◆ fr_radius_id_t
Definition at line 30 of file id.h.
◆ fr_radius_code_id_alloc()
Definition at line 51 of file id.h.
◆ fr_radius_code_id_find()
Definition at line 84 of file id.h.
◆ fr_radius_code_id_force()
Definition at line 94 of file id.h.
◆ fr_radius_code_id_pop()
Definition at line 64 of file id.h.
◆ fr_radius_code_id_push()
Definition at line 74 of file id.h.
◆ fr_radius_id_alloc()
Allocate a tracking structure for one packet code.
Definition at line 45 of file id.c.
◆ fr_radius_id_find()
Definition at line 140 of file id.c.
◆ fr_radius_id_force()
Forces the next ID to be the given one.
Definition at line 151 of file id.c.
◆ fr_radius_id_pop()
Allocate an ID for a packet, using LRU.
Definition at line 89 of file id.c.
◆ fr_radius_id_push()
De-allocate an ID for a packet, using LRU.
Definition at line 120 of file id.c.