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

Functions

syscall tftpSendRRQ (int udpdev, const char *filename)
 

Function Documentation

syscall tftpSendRRQ ( int  udpdev,
const char *  filename 
)

Send a TFTP RRQ (Read Request) packet over a UDP connection to the TFTP server. This instructs the TFTP server to begin sending the contents of the specified file. Not intended to be used outside of the TFTP code.

Parameters
udpdevDevice descriptor for the open UDP device.
filenameName of the file to request.
Returns
OK if packet sent successfully; SYSERR otherwise.