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.c | |
parent | ca4c6f9eee896ef70b676096131559dfd51970dc (diff) | |
download | ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.zip ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.gz ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.bz2 |
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.c')
-rw-r--r-- | src/net/udp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/udp.c b/src/net/udp.c index 3e33ff1..b4cd8e6 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -415,6 +415,7 @@ static struct xfer_interface_operations udp_xfer_operations = { .close = udp_xfer_close, .vredirect = ignore_xfer_vredirect, .seek = ignore_xfer_seek, + .window = unlimited_xfer_window, .alloc_iob = udp_alloc_iob, .deliver_iob = udp_xfer_deliver_iob, .deliver_raw = xfer_deliver_as_iob, |