Functions to allocate 8-bit IDs for a particular socket.
More...
#include <freeradius-devel/radius/id.h>
Go to the source code of this file.
Functions to allocate 8-bit IDs for a particular socket.
- Id
- 170d9d103bbae2f33781296e65eac7197f07f076
- Copyright
- 2024 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file id.c.
◆ fr_radius_id_s
Definition at line 29 of file id.c.
Data Fields |
int |
free_end |
|
int |
free_ids[256] |
|
int |
free_start |
|
fr_radius_id_ctx_t |
id[256] |
pointers to request / reply data |
int |
num_free_ids |
number of used IDs |
◆ 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 139 of file id.c.
◆ fr_radius_id_force()
Forces the next ID to be the given one.
Definition at line 150 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 118 of file id.c.