Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
преди 17 години
Michael Brown
487dc5be56
Fix up iscsiboot missing prototype warnings
преди 17 години
Michael Brown
b94420a52b
Ready to start testing
преди 17 години
Michael Brown
01b3dd4fc3
Line buffer API changed a while ago
преди 17 години
Marty Connor
ec0da04e7d
Warnings purge iscsiboot.c
преди 17 години
Michael Brown
15f8323055
Removing obsolete files.
преди 17 години
Michael Brown
07dc294de8
Update DHCP to use data-xfer interface (not yet tested).
преди 17 години
Michael Brown
b7ccdb7948
Add a couple of tests for the URI parsing and resolving code.
преди 17 години
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
преди 18 години
Michael Brown
a213876382
Typo
преди 18 години
Michael Brown
544fa25928
Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviously
reflect the fact that they allocate and deallocate user memory (i.e.
things reached through a userptr_t).
преди 18 години
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 години
Michael Brown
698bbe0155
Obsolete
преди 18 години
Michael Brown
497c3a5aad
Fixed HTTP
преди 18 години
Michael Brown
83b7933f8a
Damn it; my lovely resilient scheme falls down when you have a protocol
that switches from line-oriented to byte-oriented partway through, such as
HTTP.
преди 18 години
Michael Brown
996b091b50
Added generic line-buffering code (a la stdio)
преди 18 години
Michael Brown
112d7f9d79
Code used for load buffer and multiboot image testing
преди 18 години
Michael Brown
132a8fe49d
Quick and dirty test for emalloc()
преди 18 години
Michael Brown
c810baad37
Use generic "struct image" rather than "struct elf".
преди 18 години
Michael Brown
d84ec0e5d5
Had this file lying around for ages; may as well check it in.
преди 18 години
Michael Brown
91ac92bc86
Try image as ELF file first. (Don't yet actually try to execute it).
преди 18 години
Michael Brown
3460860bef
Print informative error message when boot fails.
преди 18 години
Michael Brown
0010e10ef3
Update TFTP to use a struct buffer rather than a callback.
Add debug autocolourisation to TFTP.
преди 18 години
Michael Brown
fbfed96965
buffer.c should be using copy_{to,from}_user, rather than
copy_{to,from}_phys.
преди 18 години
Michael Brown
6918cf9e9e
Change FTP to use a data buffer rather than a callback function.
преди 18 години
Michael Brown
c0ef730ec4
Fix bug in buffer.c, add buffer mini-unit test.
преди 18 години
Michael Brown
d45c5e7ce7
Add "route" command (which currently only displays the routing table; it
can't modify it).
преди 18 години
Michael Brown
d9ba8f790b
Add route() function to display routing table.
преди 18 години
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 години
Michael Brown
98b6154c3e
Add "name" field to network device, to facilitate netdev commands.
преди 18 години
Michael Brown
61ed298bc7
Merge changes from mcb-tcp-fixes branch.
преди 18 години
Michael Brown
a2e3357825
Cannot immediately overwrite the peer address when we parse
TargetAddress from the login response, because we still need the old
address while we close the connection!
преди 18 години
Michael Brown
9485478acc
ibft_fill_data() prototype change.
преди 18 години
Michael Brown
024809d454
Use a bigger buffer for the initiator IQN
преди 18 години
Michael Brown
ab242a760d
Add ability to shut down iSCSI connection
преди 18 години
Michael Brown
286db6ffa3
Print explicit error message on iSCSI boot failure, and add
"Permission denied" as an error text to strerror().
преди 18 години
Michael Brown
8e460de6be
Obsolete, and no longer functions
преди 18 години
Michael Brown
2ed2b2efe8
Use iskey() and getchar() to interact with console, rather than object
abstraction.
преди 18 години
Michael Brown
c0ec119ede
Typo
преди 18 години
Michael Brown
72b1629cee
Add placeholder ibft.h
преди 18 години
Michael Brown
9aa3e10d7c
Use root-path option (as per RFC 4173) rather than filename option to
determine iSCSI boot parameters.
преди 18 години
Michael Brown
d88832ad7e
Support PXE and iSCSI by default
преди 18 години
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 години
Michael Brown
70d4b4f7cf
Make the "drive number" option apply to iSCSI as well as AoE
преди 18 години
Michael Brown
74c41fac06
Create "username" and "password" DHCP options, ready for placing this
information in NVS.
преди 18 години
Michael Brown
3f0b4d9ed8
Updated to use asynchronous operation model for iSCSI requests
Added CHAP authentication
преди 18 години
Marty Connor
31d65dd73f
Minor edit to make HEAD build
преди 18 години
Michael Brown
7e95980858
Added iBFT construction to iSCSI boot test
преди 18 години
Michael Brown
c48170ffaf
Print net device name when making request.
преди 18 години
Derek Pryor
25ea34a8d7
New HTTP protocol and test code
преди 18 години