diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-03-06 17:35:30 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-03-06 17:35:30 +0000 |
commit | 02b914e8129c55a1b8766de0ab49928929392e89 (patch) | |
tree | d7259f5a4796e2b7bcf6ecb175191ed4a2892d8e /src/include/ipxe/tftp.h | |
parent | c08025137be3109adb008a4dfd8f023ae3845519 (diff) | |
download | ipxe-02b914e8129c55a1b8766de0ab49928929392e89.tar.gz |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tftp.h')
-rw-r--r-- | src/include/ipxe/tftp.h | 2 |
1 files changed, 0 insertions, 2 deletions
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 */ |