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
- ac65dd17667dabad165417f77b45366d3f77e2eb
- 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 free 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 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.