146#define TFTP_RFC1350_BLOCK_SIZE 512
155#define TFTP_RFC1350_WINDOW_SIZE 1
161#define TFTP_DEFAULT_BLOCK_SIZE 1456
167#define TFTP_DEFAULT_WINDOW_SIZE 8
346 const char *hostname,
int tftp_close(void *tftp_handle)
Close a TFTP client connection.
Definition: tftpDriver.c:1430
ssize_t tftp_write(void *tftp_handle, const void *buffer, size_t count)
Write data to a TFTP server.
Definition: tftpDriver.c:1466
void tftp_initialize_net_config(tftp_net_config *config)
Set all members of a tftp_net_config structure to their default values.
Definition: tftpDriver.c:1237
ssize_t tftp_read(void *tftp_handle, void *buffer, size_t count)
Read data from a TFTP server.
Definition: tftpDriver.c:1316
int tftp_open(const char *hostname, const char *path, bool is_for_reading, const tftp_net_config *config, void **tftp_handle)
Opens and starts a TFTP client session to read or write a single file.
Definition: tftpDriver.c:1255
int rtems_tftpfs_initialize(rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
Do not call directly, use mount().
Definition: tftpfs.c:150
Definition: deflate.c:114
Mount table entry.
Definition: libio.h:1622
This structure represents configuration value used by the TFTP client.
Definition: tftp.h:213
tftp_options options
This member represents the options to be sent to the server.
Definition: tftp.h:280
uint16_t server_port
This member defines the port on which the server is listening for incoming connections.
Definition: tftp.h:234
uint32_t timeout
This member defines the maximum time in milliseconds the client waits for an answer packet from the s...
Definition: tftp.h:250
uint32_t first_timeout
This member defines the maximum time in milliseconds the client waits for the first answer packet fro...
Definition: tftp.h:264
uint16_t retransmissions
This member defines how many attempts are made to send a network packet to the server.
Definition: tftp.h:226
This structure represents TFTP options negotiated between client and server.
Definition: tftp.h:175
uint16_t window_size
This member represents the desired size of a window.
Definition: tftp.h:204
uint16_t block_size
This member represents the desired size of a data block.
Definition: tftp.h:188