Michael Brown
07dc294de8
Update DHCP to use data-xfer interface (not yet tested).
vor 17 Jahren
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
vor 17 Jahren
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.
vor 17 Jahren
Michael Brown
3460860bef
Print informative error message when boot fails.
vor 17 Jahren
Michael Brown
d45c5e7ce7
Add "route" command (which currently only displays the routing table; it
can't modify it).
vor 17 Jahren
Michael Brown
d9ba8f790b
Add route() function to display routing table.
vor 17 Jahren
Michael Brown
649b789e93
DHCP transmits via specified net device, so no need to create a dummy
routing table entry just to fool ipv4.c any more.
vor 17 Jahren
Michael Brown
98b6154c3e
Add "name" field to network device, to facilitate netdev commands.
vor 17 Jahren
Michael Brown
024809d454
Use a bigger buffer for the initiator IQN
vor 17 Jahren
Michael Brown
c0ec119ede
Typo
vor 17 Jahren
Michael Brown
9aa3e10d7c
Use root-path option (as per RFC 4173) rather than filename option to
determine iSCSI boot parameters.
vor 17 Jahren
Michael Brown
d88832ad7e
Support PXE and iSCSI by default
vor 17 Jahren
Michael Brown
89bcb57201
Update ftp.c to work with Nikhil's TCP stack.
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
vor 17 Jahren
Michael Brown
70d4b4f7cf
Make the "drive number" option apply to iSCSI as well as AoE
vor 17 Jahren
Michael Brown
74c41fac06
Create "username" and "password" DHCP options, ready for placing this
information in NVS.
vor 17 Jahren
Michael Brown
3f0b4d9ed8
Updated to use asynchronous operation model for iSCSI requests
Added CHAP authentication
vor 17 Jahren
Michael Brown
7e95980858
Added iBFT construction to iSCSI boot test
vor 18 Jahren
Michael Brown
c48170ffaf
Print net device name when making request.
vor 18 Jahren
Derek Pryor
25ea34a8d7
New HTTP protocol and test code
vor 18 Jahren
Michael Brown
c9e6c33bba
Attempt a PXE NBP boot as the TFTP test.
vor 18 Jahren
Michael Brown
d1a123b1f4
Added TFTP test code (currently just dumps file to console).
vor 18 Jahren
Michael Brown
010288577f
Add very, very quick and dirty hello world test
vor 18 Jahren
Michael Brown
8a3f4b7de6
Set a NUL terminator before calling inet_aton.
vor 18 Jahren
Michael Brown
d0e4f198d6
Add iSCSI to the DHCP tests.
Start updating iscsi.c to use Nikhil's TCP API.
vor 18 Jahren
Michael Brown
9e761f5f28
Print out "DHCP..." message just in case people think the demo is sitting
there doing nothing when it's actually waiting for a DHCP reply.
vor 18 Jahren
Michael Brown
a92d242008
Allow an AoE boot to be directed via DHCP, so that we have a proof of
concept demo that actually does something useful.
vor 18 Jahren
Michael Brown
7ca8bcd98c
Print out the lease time, just to show how easy it is.
vor 18 Jahren
Michael Brown
00a1f000b1
Added dhcp_ipv4_option() and friends.
Added test code to configure the interface for IPv4 after DHCP.
vor 18 Jahren
Michael Brown
6d9d48537e
Added some debug messages and DHCP test code
vor 18 Jahren