tftp_server_misc.h
void tftpServerProcessDataPacket(TftpClientConnection *connection, const TftpDataPacket *dataPacket, size_t length)
Process incoming DATA packet.
Definition: tftp_server_misc.c:644
error_t tftpServerRetransmitPacket(TftpClientConnection *connection)
Retransmit the last packet.
Definition: tftp_server_misc.c:1028
void tftpServerProcessRrqPacket(TftpServerContext *context, NetInterface *interface, const IpAddr *clientIpAddr, uint16_t clientPort, const TftpRrqPacket *rrqPacket, size_t length)
Process incoming RRQ packet.
Definition: tftp_server_misc.c:427
void tftpServerProcessWrqPacket(TftpServerContext *context, NetInterface *interface, const IpAddr *clientIpAddr, uint16_t clientPort, const TftpWrqPacket *wrqPacket, size_t length)
Process incoming WRQ packet.
Definition: tftp_server_misc.c:535
void tftpServerProcessAckPacket(TftpClientConnection *connection, const TftpAckPacket *ackPacket, size_t length)
Process incoming ACK packet.
Definition: tftp_server_misc.c:749
error_t tftpServerSendDataPacket(TftpClientConnection *connection)
Send DATA packet.
Definition: tftp_server_misc.c:840
error_t tftpServerSendErrorPacket(TftpClientConnection *connection, uint16_t errorCode, const char_t *errorMsg)
Send ERROR packet.
Definition: tftp_server_misc.c:979
void tftpServerCloseConnection(TftpClientConnection *connection)
Close connection.
Definition: tftp_server_misc.c:269
TFTP server.
void tftpServerAcceptRequest(TftpServerContext *context)
Accept connection request.
Definition: tftp_server_misc.c:310
TftpClientConnection * tftpServerOpenConnection(TftpServerContext *context, NetInterface *interface, const IpAddr *clientIpAddr, uint16_t clientPort)
Create a new connection.
Definition: tftp_server_misc.c:153
void tftpServerTick(TftpServerContext *context)
Handle periodic operations.
Definition: tftp_server_misc.c:49
void tftpServerProcessErrorPacket(TftpClientConnection *connection, const TftpErrorPacket *errorPacket, size_t length)
Process incoming ERROR packet.
Definition: tftp_server_misc.c:804
error_t tftpServerSendAckPacket(TftpClientConnection *connection)
Send ACK packet.
Definition: tftp_server_misc.c:937
TftpClientConnection * tftpServerFindConnection(TftpServerContext *context, NetInterface *interface, const IpAddr *clientIpAddr, uint16_t clientPort)
Find a connection that matches a given client.
Definition: tftp_server_misc.c:114
TCP/IP stack core.
void tftpServerProcessPacket(TftpServerContext *context, TftpClientConnection *connection)
Process incoming packet.
Definition: tftp_server_misc.c:366
