tftp_client.c
error_t tftpClientOpenFile(TftpClientContext *context, const char_t *filename, uint_t mode)
Open a file for reading or writing.
Definition: tftp_client.c:135
error_t tftpClientFlushFile(TftpClientContext *context)
Flush pending write operations.
Definition: tftp_client.c:357
error_t tftpClientSendDataPacket(TftpClientContext *context)
Send DATA packet.
Definition: tftp_client_misc.c:543
error_t tftpClientBindToInterface(TftpClientContext *context, NetInterface *interface)
Bind the TFTP client to a particular network interface.
Definition: tftp_client.c:83
error_t tftpClientSendWrqPacket(TftpClientContext *context, const char_t *filename, const char_t *mode)
Send WRQ packet.
Definition: tftp_client_misc.c:489
void tftpClientCloseConnection(TftpClientContext *context)
Close connection with the TFTP server.
Definition: tftp_client_misc.c:95
error_t tftpClientOpenConnection(TftpClientContext *context)
Open connection with the TFTP server.
Definition: tftp_client_misc.c:49
error_t tftpClientProcessEvents(TftpClientContext *context)
Process TFTP client events.
Definition: tftp_client_misc.c:113
error_t tftpClientReadFile(TftpClientContext *context, void *data, size_t size, size_t *received, uint_t flags)
Read data from the file.
Definition: tftp_client.c:422
error_t tftpClientConnect(TftpClientContext *context, const IpAddr *serverIpAddr, uint16_t serverPort)
Specify the address of the TFTP server.
Definition: tftp_client.c:106
TFTP client.
void tftpClientDeinit(TftpClientContext *context)
Release TFTP client context.
Definition: tftp_client.c:546
Helper functions for TFTP client.
error_t tftpClientInit(TftpClientContext *context)
TFTP client initialization.
Definition: tftp_client.c:59
error_t tftpClientSendAckPacket(TftpClientContext *context)
Send ACK packet.
Definition: tftp_client_misc.c:583
error_t tftpClientSendRrqPacket(TftpClientContext *context, const char_t *filename, const char_t *mode)
Send RRQ packet.
Definition: tftp_client_misc.c:433
Debugging facilities.
error_t tftpClientWriteFile(TftpClientContext *context, const void *data, size_t length, size_t *written, uint_t flags)
Write data to the file.
Definition: tftp_client.c:270