aboutsummaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)AuthorFilesLines
2007-06-27Update DHCP to use data-xfer interface (not yet tested).Michael Brown1-1/+1
2007-06-03Add a couple of tests for the URI parsing and resolving code.Michael Brown1-0/+145
2007-01-19Use stdio.h instead of vsprintf.hMichael Brown5-5/+5
2007-01-19TypoMichael Brown1-3/+3
2007-01-16Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviouslyMichael Brown1-7/+7
reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t).
2007-01-15Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown4-95/+6
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.
2007-01-14ObsoleteMichael Brown1-57/+0
2007-01-12Fixed HTTPMichael Brown1-37/+0
2007-01-12Damn it; my lovely resilient scheme falls down when you have a protocolMichael Brown1-7/+12
that switches from line-oriented to byte-oriented partway through, such as HTTP.
2007-01-12Added generic line-buffering code (a la stdio)Michael Brown1-0/+27
2007-01-12Code used for load buffer and multiboot image testingMichael Brown1-2/+10
2007-01-12Quick and dirty test for emalloc()Michael Brown1-0/+26
2007-01-11Use generic "struct image" rather than "struct elf".Michael Brown1-5/+6
2007-01-11Had this file lying around for ages; may as well check it in.Michael Brown1-0/+39
2007-01-11Try image as ELF file first. (Don't yet actually try to execute it).Michael Brown1-1/+14
2007-01-11Print informative error message when boot fails.Michael Brown1-1/+1
2007-01-11Update TFTP to use a struct buffer rather than a callback.Michael Brown1-9/+7
Add debug autocolourisation to TFTP.
2007-01-11buffer.c should be using copy_{to,from}_user, rather thanMichael Brown2-2/+2
copy_{to,from}_phys.
2007-01-11Change FTP to use a data buffer rather than a callback function.Michael Brown1-2/+14
2007-01-11Fix bug in buffer.c, add buffer mini-unit test.Michael Brown1-0/+54
2007-01-10Add "route" command (which currently only displays the routing table; itMichael Brown1-2/+0
can't modify it).
2007-01-10Add route() function to display routing table.Michael Brown1-4/+2
2007-01-10DHCP transmits via specified net device, so no need to create a dummyMichael Brown1-8/+0
routing table entry just to fool ipv4.c any more.
2007-01-09Add "name" field to network device, to facilitate netdev commands.Michael Brown2-2/+2
2006-12-27Merge changes from mcb-tcp-fixes branch.Michael Brown3-3/+3
2006-12-22Cannot immediately overwrite the peer address when we parseMichael Brown1-4/+4
TargetAddress from the login response, because we still need the old address while we close the connection!
2006-12-21ibft_fill_data() prototype change.Michael Brown1-1/+1
2006-12-21Use a bigger buffer for the initiator IQNMichael Brown1-1/+1
2006-12-21Add ability to shut down iSCSI connectionMichael Brown1-1/+3
2006-12-21Print explicit error message on iSCSI boot failure, and addMichael Brown1-1/+3
"Permission denied" as an error text to strerror().
2006-12-19Obsolete, and no longer functionsMichael Brown1-88/+0
2006-12-18Use iskey() and getchar() to interact with console, rather than objectMichael Brown1-2/+2
abstraction.
2006-12-12TypoMichael Brown1-2/+2
2006-12-08Add placeholder ibft.hMichael Brown1-4/+0
2006-12-08Use root-path option (as per RFC 4173) rather than filename option toMichael Brown2-20/+68
determine iSCSI boot parameters.
2006-12-05Support PXE and iSCSI by defaultMichael Brown1-1/+4
2006-12-05Update ftp.c to work with Nikhil's TCP stack.Michael Brown2-11/+50
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
2006-11-29Make the "drive number" option apply to iSCSI as well as AoEMichael Brown2-3/+8
2006-11-28Create "username" and "password" DHCP options, ready for placing thisMichael Brown1-2/+7
information in NVS.
2006-11-28Updated to use asynchronous operation model for iSCSI requestsMichael Brown2-1/+8
Added CHAP authentication
2006-09-19Minor edit to make HEAD buildMarty Connor1-2/+4
2006-08-27Added iBFT construction to iSCSI boot testMichael Brown2-5/+8
2006-08-11Print net device name when making request.Michael Brown1-1/+2
2006-08-11New HTTP protocol and test codeDerek Pryor2-0/+59
2006-08-09Attempt a PXE NBP boot as the TFTP test.Michael Brown2-19/+21
2006-08-09Added TFTP test code (currently just dumps file to console).Michael Brown2-2/+51
2006-08-07Add very, very quick and dirty hello world testMichael Brown2-6/+31
2006-08-07Set a NUL terminator before calling inet_aton.Michael Brown1-2/+3
2006-08-07Add iSCSI to the DHCP tests.Michael Brown2-13/+50
Start updating iscsi.c to use Nikhil's TCP API.
2006-07-20Print out "DHCP..." message just in case people think the demo is sittingMichael Brown1-1/+5
there doing nothing when it's actually waiting for a DHCP reply.