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