The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Structures and functions for packet manipulation. More...
#include <freeradius-devel/util/packet.h>
#include <freeradius-devel/util/socket.h>
Go to the source code of this file.
Functions | |
void | fr_packet_net_from_pairs (fr_packet_t *packet, fr_pair_list_t const *list) |
Convert pairs to information in a packet. More... | |
int | fr_packet_pairs_from_packet (TALLOC_CTX *ctx, fr_pair_list_t *list, fr_packet_t const *packet) |
Allocate a "Net." struct with src/dst host and port. More... | |
int | packet_global_init (void) |
Initialises the Net. More... | |
Structures and functions for packet manipulation.
copyright 2023 Network RADIUS SAS (legal) @net workr adiu s.com
Definition in file packet.h.
void fr_packet_net_from_pairs | ( | fr_packet_t * | packet, |
fr_pair_list_t const * | list | ||
) |
int fr_packet_pairs_from_packet | ( | TALLOC_CTX * | ctx, |
fr_pair_list_t * | list, | ||
fr_packet_t const * | packet | ||
) |
Allocate a "Net." struct with src/dst host and port.
ctx | The context in which the packet is allocated. | |
[in] | list | fr_pair_list_t value to resolve to fr_packet_t. |
[out] | packet | The request packet. |
Definition at line 89 of file packet.c.