![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
fr_packet_t alloc/free functions More...
#include <freeradius-devel/util/misc.h>#include <freeradius-devel/util/packet.h>#include <freeradius-devel/util/rand.h>
Include dependency graph for packet.c:Go to the source code of this file.
Functions | |
| fr_packet_t * | fr_packet_alloc (TALLOC_CTX *ctx, bool new_vector) |
| Allocate a new fr_packet_t. | |
| fr_packet_t * | fr_packet_alloc_reply (TALLOC_CTX *ctx, fr_packet_t *packet) |
| Allocate a new fr_packet_t response. | |
| void | fr_packet_free (fr_packet_t **packet_p) |
| Free a fr_packet_t. | |
fr_packet_t alloc/free functions
Definition in file packet.c.
| fr_packet_t * fr_packet_alloc | ( | TALLOC_CTX * | ctx, |
| bool | new_vector | ||
| ) |
Allocate a new fr_packet_t.
| ctx | the context in which the packet is allocated. May be NULL if the packet is not associated with a request_t. |
| new_vector | if true a new request authenticator will be generated. |
Definition at line 38 of file packet.c.
Here is the call graph for this function:
Here is the caller graph for this function:| fr_packet_t * fr_packet_alloc_reply | ( | TALLOC_CTX * | ctx, |
| fr_packet_t * | packet | ||
| ) |
Allocate a new fr_packet_t response.
| ctx | the context in which the packet is allocated. May be NULL if the packet is not associated with a request_t. |
| packet | The request packet. |
Definition at line 63 of file packet.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void fr_packet_free | ( | fr_packet_t ** | packet_p | ) |
Free a fr_packet_t.
Definition at line 89 of file packet.c.
Here is the call graph for this function:
Here is the caller graph for this function:
1.9.8