The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Functions to decode TFTP packets. More...
#include <freeradius-devel/util/udp.h>
#include <freeradius-devel/io/test_point.h>
#include "tftp.h"
#include "attrs.h"
Go to the source code of this file.
Data Structures | |
struct | fr_tftp_ctx_t |
Used as the decoder ctx. More... | |
Functions | |
static int | _decode_test_ctx (UNUSED fr_tftp_ctx_t *proto_ctx) |
static int | decode_test_ctx (void **out, TALLOC_CTX *ctx, UNUSED fr_dict_t const *dict) |
int | fr_tftp_decode (TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len) |
static ssize_t | fr_tftp_decode_proto (TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len, UNUSED void *proto_ctx) |
Variables | |
fr_test_point_proto_decode_t | tftp_tp_decode_proto |
Functions to decode TFTP packets.
Definition in file decode.c.
struct fr_tftp_ctx_t |
|
static |
int fr_tftp_decode | ( | TALLOC_CTX * | ctx, |
fr_pair_list_t * | out, | ||
uint8_t const * | data, | ||
size_t | data_len | ||
) |
|
static |
fr_test_point_proto_decode_t tftp_tp_decode_proto |