int
fill_tftp_request
(tftp_t
*pkt, u_int16_t
opcode, const char
*filename, int32_t
blockno);This is a pointer to the packet to fill in.
This is the opcode, either TFTP_RRQ or TFTP_ACK.
For a TFTP_RRQ, this is the filename to request.
For a TFTP_ACK, this is the number of the current block being downloaded.