mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[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>
This commit is contained in:
@@ -80,6 +80,4 @@ union tftp_any {
|
||||
struct tftp_oack oack;
|
||||
};
|
||||
|
||||
extern void tftp_set_request_blksize ( unsigned int blksize );
|
||||
|
||||
#endif /* _IPXE_TFTP_H */
|
||||
|
||||
Reference in New Issue
Block a user