|
static int | _test_ctx_free (fr_radius_decode_ctx_t *ctx) |
|
static ssize_t | decode_concat (TALLOC_CTX *ctx, fr_pair_list_t *list, fr_dict_attr_t const *parent, uint8_t const *data, uint8_t const *end) |
| Convert a "concatenated" attribute to one long VP. More...
|
|
static ssize_t | decode_digest_attributes (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t const data_len, fr_radius_decode_ctx_t *packet_ctx) |
| Decode Digest-Attributes. More...
|
|
static ssize_t | decode_extended (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *da, uint8_t const *data, UNUSED size_t data_len, fr_radius_decode_ctx_t *packet_ctx) |
| Fast path for most extended attributes. More...
|
|
static ssize_t | decode_extended_fragments (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t attr_len, fr_radius_decode_ctx_t *packet_ctx) |
| Convert a fragmented extended attr to a VP. More...
|
|
static ssize_t | decode_nas_filter_rule (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t const data_len, fr_radius_decode_ctx_t *packet_ctx) |
| Decode NAS-Filter-Rule. More...
|
|
static ssize_t | decode_pair (TALLOC_CTX *ctx, fr_pair_list_t *out, NDEBUG_UNUSED fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, void *decode_ctx) |
|
static ssize_t | decode_rfc (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t const data_len, void *decode_ctx) |
| decode an RFC-format TLV More...
|
|
static int | decode_test_ctx (void **out, TALLOC_CTX *ctx) |
|
static ssize_t | decode_tlv_trampoline (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, void *decode_ctx) |
| Wrapper called by fr_struct_from_network() More...
|
|
static ssize_t | decode_value_trampoline (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, void *decode_ctx) |
| Wrapper called by fr_struct_from_network() More...
|
|
static ssize_t | decode_vsa (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t attr_len, fr_radius_decode_ctx_t *packet_ctx) |
| Convert a top-level VSA to one or more VPs. More...
|
|
static ssize_t | decode_vsa_internal (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, fr_radius_decode_ctx_t *packet_ctx, fr_dict_vendor_t const *dv) |
| Convert a top-level VSA to a VP. More...
|
|
static ssize_t | decode_wimax (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t attr_len, fr_radius_decode_ctx_t *packet_ctx) |
| Convert a Vendor-Specific WIMAX to vps. More...
|
|
ssize_t | fr_radius_decode_foreign (TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len) |
|
ssize_t | fr_radius_decode_pair (TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len, fr_radius_decode_ctx_t *packet_ctx) |
| Create a "normal" fr_pair_t from the given data. More...
|
|
ssize_t | fr_radius_decode_pair_value (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t const attr_len, void *decode_ctx) |
| Create any kind of VP from the attribute contents. More...
|
|
static ssize_t | fr_radius_decode_password (char *passwd, size_t pwlen, fr_radius_decode_ctx_t *packet_ctx) |
| Decode password. More...
|
|
static ssize_t | fr_radius_decode_proto (TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len, void *proto_ctx) |
|
ssize_t | fr_radius_decode_tlv (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, fr_radius_decode_ctx_t *packet_ctx) |
| Convert TLVs to one or more VPs. More...
|
|
int | fr_radius_decode_tlv_ok (uint8_t const *data, size_t length, size_t dv_type, size_t dv_length) |
| Check if a set of RADIUS formatted TLVs are OK. More...
|
|
static ssize_t | fr_radius_decode_tunnel_password (uint8_t *passwd, size_t *pwlen, fr_radius_decode_ctx_t *packet_ctx) |
| Decode Tunnel-Password encrypted attributes. More...
|
|
static void | memcpy_bounded (void *restrict dst, const void *restrict src, size_t n, const void *restrict end) |
|
Functions to decode RADIUS attributes.
- Id
- 67c5e6783e2f09af107ed6d24b111f44ddbfead6
- Copyright
- 2000-2003,2006-2015 The FreeRADIUS server project
Definition in file decode.c.