RTEMS 6.1-rc6
|
The TFTP file system provides the ability to read files from and to write files to remote servers using the Trivial File Transfer Protocol (TFTP). More...
Files | |
file | tftp.h |
This header file provides interfaces and functions used to implement the TFTP file system. | |
file | tftp_driver.h |
This header file provides private interfaces of the TFTP client library. | |
file | tftpDriver.c |
This source file contains the implementation of a Trivial File Transfer Protocol (TFTP) client library. | |
file | tftpfs.c |
This source file contains the implementation of the Trivial File Transfer Protocol (TFTP) file system. | |
Functions | |
int | rtems_tftpfs_initialize (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data) |
Do not call directly, use mount(). | |
void | _Tftp_Destroy (void *tftp_handle) |
Free the resources associated with a TFTP client connection. | |
ssize_t | _Tftpfs_Parse_options (const char *option_str, tftp_net_config *tftp_config, uint32_t *flags) |
The TFTP file system provides the ability to read files from and to write files to remote servers using the Trivial File Transfer Protocol (TFTP).
The file spec/build/cpukit/libtftpfs.yml
specifies how the RTEMS WAF build system has to compile, link and install libtftpfs
.
There also exists a TFTP file system test suite.
void _Tftp_Destroy | ( | void * | tftp_handle | ) |
Free the resources associated with a TFTP client connection.
This directive releases any resources allocated at the client side. The connection is not closed which implies that the server will not be informed and data is likely lost. According to RFC 1350 the server will recognize the defect connection by timeouts. This directive is internally used when the TFTP file system is unmounted.
tftp_handle | is the reference returned by a call to tftp_open(). If this parameter is NULL , the directive call is a no-op. |
int rtems_tftpfs_initialize | ( | rtems_filesystem_mount_table_entry_t * | mt_entry, |
const void * | data | ||
) |
Do not call directly, use mount().
Filesystem Mount table entry.