diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-07-08 14:11:07 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-07-08 14:11:07 +0100 |
commit | b34d4d044978714abe771ca8d7d07153ad048d82 (patch) | |
tree | 017d6c4e37f0bc49df6ae461074a41691e08013f /src/net/udp/tftp.c | |
parent | ca4c6f9eee896ef70b676096131559dfd51970dc (diff) | |
download | ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.gz |
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
Diffstat (limited to 'src/net/udp/tftp.c')
-rw-r--r-- | src/net/udp/tftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c index 03a51f9a2..106c70475 100644 --- a/src/net/udp/tftp.c +++ b/src/net/udp/tftp.c @@ -583,6 +583,7 @@ static struct xfer_interface_operations tftp_socket_operations = { .close = tftp_socket_close, .vredirect = xfer_vopen, .seek = ignore_xfer_seek, + .window = unlimited_xfer_window, .alloc_iob = default_xfer_alloc_iob, .deliver_iob = tftp_socket_deliver_iob, .deliver_raw = xfer_deliver_as_iob, @@ -609,6 +610,7 @@ static struct xfer_interface_operations tftp_xfer_operations = { .close = tftp_xfer_close, .vredirect = ignore_xfer_vredirect, .seek = ignore_xfer_seek, + .window = unlimited_xfer_window, .alloc_iob = default_xfer_alloc_iob, .deliver_iob = xfer_deliver_as_raw, .deliver_raw = ignore_xfer_deliver_raw, |