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