![]() |
RTEMS 6.1-rc1
|
This header file provides interfaces and functions used to implement the UDP network fake for tftpfs tests. More...
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | Tftp_Action |
struct | Tftp_Interaction |
struct | Tftp_Packet |
Typedefs | |
typedef enum Tftp_Action_kind | Tftp_Action_kind |
typedef struct Tftp_Action | Tftp_Action |
typedef bool(* | Tftp_Interaction_fn) (Tftp_Action *act, void *data) |
Carry out interactions with TFTP client. More... | |
typedef struct Tftp_Interaction | Tftp_Interaction |
typedef enum Tftp_Opcode | Tftp_Opcode |
typedef enum Tftp_Error_code | Tftp_Error_code |
typedef struct Tftp_Packet | Tftp_Packet |
Functions | |
void | _Tftp_Reset (void) |
Initialize and free the singleton control object. More... | |
void * | _Tftp_Append_interaction (Tftp_Action_kind kind, Tftp_Interaction_fn fn, size_t size) |
Create an interaction and append it to the sequence of expected interactions. More... | |
bool | _Tftp_Has_no_more_interactions (void) |
Have all queued interactions been processed? More... | |
const char * | _Tftp_Get_error_str (uint16_t error_code) |
Provides a human readable description for an error code from an TFTP error packet. More... | |
This header file provides interfaces and functions used to implement the UDP network fake for tftpfs tests.
Definitions and declarations of data structures and functions.