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, UNUSED fr_dict_t const *dict, UNUSED fr_dict_attr_t const *root_da) |
|
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.
|
|
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
- 869c0953c554275994f1280f97aea874a7e08eae
- 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()
◆ 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, UNUSED fr_dict_t const *dict, UNUSED fr_dict_attr_t const *root_da)
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 205 of file decode.c.