The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Functions to encode TFTP packets. More...
#include <freeradius-devel/util/dbuff.h>
#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 | _encode_test_ctx (UNUSED fr_tftp_ctx_t *proto_ctx) |
static int | encode_test_ctx (void **out, TALLOC_CTX *ctx) |
ssize_t | fr_tftp_encode (fr_dbuff_t *dbuff, fr_pair_list_t *vps) |
static ssize_t | fr_tftp_encode_proto (UNUSED TALLOC_CTX *ctx, fr_pair_list_t *vps, uint8_t *data, size_t data_len, UNUSED void *proto_ctx) |
Variables | |
fr_test_point_proto_encode_t | tftp_tp_encode_proto |
Functions to encode TFTP packets.
Definition in file encode.c.
struct fr_tftp_ctx_t |
|
static |
|
static |
ssize_t fr_tftp_encode | ( | fr_dbuff_t * | dbuff, |
fr_pair_list_t * | vps | ||
) |
fr_test_point_proto_encode_t tftp_tp_encode_proto |