Michael Brown
f3265b4bf8
Add preliminary support for MTFTP.
17 vuotta sitten
Michael Brown
1949641d10
Fix compiler warnings that appear only on OpenBSD.
17 vuotta sitten
Michael Brown
3b1efba864
Add RFC2090 TFTP multicast support.
17 vuotta sitten
Michael Brown
f770744ee0
Quick hack to be able to accept transfers from servers that don't
supply options.
17 vuotta sitten
Michael Brown
972f293e46
Check for correct block number in tftp_rx_data().
(Problem observed by Clay McClure in VMware Fusion.)
17 vuotta sitten
Michael Brown
00d93c6dd9
Minor style fix: structure fields are generally initialised in the
order in which they occur.
17 vuotta sitten
Marty Connor
14e1d3cc4d
TFTP default blocksize fix from Vampyre
17 vuotta sitten
Michael Brown
2ff1b1245b
Use start_timer_nodelay() in protocols which rely on the retry timer
to generate the initial transmission; this cuts off around 0.3s per
instantiated connection.
17 vuotta sitten
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
17 vuotta sitten
Michael Brown
b34d4d0449
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
17 vuotta sitten
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
17 vuotta sitten
Holger Lubitz
da3c785816
convert to zalloc
17 vuotta sitten
Michael Brown
d7e471f654
Improve debugging
17 vuotta sitten
Michael Brown
d465ae9785
Bugfix: iobuf->data always points to the start of the allocated
portion, not to the bit we want to currently write to...
17 vuotta sitten
Michael Brown
2d4c72b762
Remove unused headers.
17 vuotta sitten
Michael Brown
01b4bde8a0
Updated TFTP and PXE UDP API code to use not-yet-implemented data-xfer
UDP API.
17 vuotta sitten
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
17 vuotta sitten
Michael Brown
df0397f334
Update TFTP and FTP to take the same temporary URI scheme as HTTP
17 vuotta sitten
Michael Brown
4e20d73bb5
Gave asynchronous operations approximate POSIX signal semantics. This
will enable us to cascade async operations, which is necessary in order to
properly support DNS. (For example, an HTTP request may have to redirect
to a new location and will have to perform a new DNS lookup, so we can't
just rely on doing the name lookup at the time of parsing the initial
URL).
Anything other than HTTP is probably broken right now; I'll fix the others
up asap.
17 vuotta sitten
Michael Brown
0010e10ef3
Update TFTP to use a struct buffer rather than a callback.
Add debug autocolourisation to TFTP.
17 vuotta sitten
Michael Brown
d1a123b1f4
Added TFTP test code (currently just dumps file to console).
18 vuotta sitten
Michael Brown
3611cb17b7
Initial (untested) implementation of TFTP over the new UDP API.
18 vuotta sitten