From 02b914e8129c55a1b8766de0ab49928929392e89 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 6 Mar 2013 17:35:30 +0000 Subject: [tftp] Allow TFTP block size to be controlled via the PXE TFTP API The PXE TFTP API allows the caller to request a particular TFTP block size. Since mid-2008, iPXE has appended a "?blksize=xxx" parameter to the TFTP URI constructed internally; nothing has ever parsed this parameter. Nobody seems to have cared that this parameter has been ignored for almost five years. Fix by using xfer_window(), which provides a fairly natural way to convey the block size information from the PXE TFTP API to the TFTP protocol layer. Signed-off-by: Michael Brown --- src/include/ipxe/tftp.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/include') diff --git a/src/include/ipxe/tftp.h b/src/include/ipxe/tftp.h index 38be0d4da..aecafa2ae 100644 --- a/src/include/ipxe/tftp.h +++ b/src/include/ipxe/tftp.h @@ -80,6 +80,4 @@ union tftp_any { struct tftp_oack oack; }; -extern void tftp_set_request_blksize ( unsigned int blksize ); - #endif /* _IPXE_TFTP_H */ -- cgit v1.2.3-55-g7522