Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
tftpSendACK.c File Reference
#include <tftp.h>
#include <device.h>

Functions

syscall tftpSendACK (int udpdev, ushort block_number)
 

Function Documentation

syscall tftpSendACK ( int  udpdev,
ushort  block_number 
)

Send a TFTP ACK (Acknowledge) packet over a UDP connection to the TFTP server. For TFTP Get transfers, this informs the TFTP server that a given data packet (having a specific block number) has been received. Not intended to be used outside of the TFTP code.

Parameters
udpdevDevice descriptor for the open UDP device.
block_numberBlock number to acknowledge.
Returns
OK if packet sent successfully; SYSERR otherwise.