summaryrefslogtreecommitdiffstats
path: root/src/net/udp.c
diff options
context:
space:
mode:
authorMichael Brown2007-07-08 15:11:07 +0200
committerMichael Brown2007-07-08 15:11:07 +0200
commitb34d4d044978714abe771ca8d7d07153ad048d82 (patch)
tree017d6c4e37f0bc49df6ae461074a41691e08013f /src/net/udp.c
parentKill off unused request() method in data-xfer interface. (diff)
downloadipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.gz
ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.xz
ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.zip
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/udp.c b/src/net/udp.c
index 3e33ff17..b4cd8e6b 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,