Functions to decode BFD packets.
More...
#include <freeradius-devel/util/struct.h>
#include <freeradius-devel/io/test_point.h>
#include <freeradius-devel/internal/internal.h>
#include "attrs.h"
Go to the source code of this file.
|
static int | decode_test_ctx (void **out, TALLOC_CTX *ctx) |
|
static ssize_t | decode_value (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t const data_len, UNUSED void *decode_ctx) |
|
ssize_t | fr_bfd_decode (TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *packet, size_t packet_len, char const *secret, UNUSED size_t secret_len) |
| Decode a raw BFD packet into VPs. More...
|
|
static ssize_t | fr_bfd_decode_proto (TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len, void *proto_ctx) |
|
Functions to decode BFD packets.
- Id
- debfba70d724937aadc27efb3cee01d330223bfc
- Copyright
- 2023 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file decode.c.
◆ decode_test_ctx()
static int decode_test_ctx |
( |
void ** |
out, |
|
|
TALLOC_CTX * |
ctx |
|
) |
| |
|
static |
◆ decode_value()
◆ fr_bfd_decode()
Decode a raw BFD packet into VPs.
Definition at line 64 of file decode.c.
◆ fr_bfd_decode_proto()
◆ bfd_tp_decode_proto
Initial value:= {
}
static int decode_test_ctx(void **out, TALLOC_CTX *ctx)
static ssize_t fr_bfd_decode_proto(TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len, void *proto_ctx)
Definition at line 204 of file decode.c.