summaryrefslogtreecommitdiffstats
path: root/src/usr
Commit message (Collapse)AuthorAgeFilesLines
* [NETDEV] Add notion of link stateMichael Brown2008-04-222-1/+34
| | | | | | | | | | | Add ability for network devices to flag link up/down state to the networking core. Autobooting code will now wait for link-up before attempting DHCP. IPoIB reflects the Infiniband link state as the network device link state (which is not strictly correct; we also need a succesful IPoIB IPv4 broadcast group join), but is probably more informative.
* [Settings] Remove assumption that all settings have DHCP tag valuesMichael Brown2008-03-253-6/+2Star
| | | | | | | | | | | | Allow for settings to be described by something other than a DHCP option tag if desirable. Currently used only for the MAC address setting. Separate out fake DHCP packet creation code from dhcp.c to fakedhcp.c. Remove notion of settings from dhcppkt.c. Rationalise dhcp.c to use settings API only for final registration of the DHCP options, rather than using {store,fetch}_setting throughout.
* [DHCP] Fix up fake-packet creation as used by PXENV_GET_CACHED_INFOMichael Brown2008-03-231-6/+0Star
| | | | | | | | | | | Add dedicated functions create_dhcpdiscover(), create_dhcpack() and create_proxydhcpack() for use by external code such as the PXE preboot code. Register ProxyDHCP options under the global scope "proxydhcp". Unregister previously-acquired DHCP and ProxyDHCP settings when DHCP succeeds.
* [Settings] Migrate DHCP and NVO code to the new settings API (untested)Michael Brown2008-03-211-18/+5Star
|
* [Settings] Use a settings applicator to configure IPv4 routes.Michael Brown2008-03-211-2/+2
|
* [Settings] Convert code in src/usr to use settings API.Michael Brown2008-03-213-6/+7
|
* [Command] Add "sanboot" command.Michael Brown2008-03-041-1/+1
|
* Added the embedded pxelinux payload patch from hpa.Michael Brown2008-01-081-0/+30
|
* Remove the obsolete pre-aBFT AoE boot table.Michael Brown2007-12-121-30/+0Star
|
* Remove some assumptions about DHCP obtaining only a single options block.Michael Brown2007-11-211-8/+11
|
* Display name and status of each file as it is downloaded.Michael Brown2007-08-033-13/+12Star
|
* Error message cleanups.Michael Brown2007-08-021-1/+1
|
* Allow images to hold references to the originating URI.Michael Brown2007-08-022-33/+17Star
| | | | Some shuffling around of the image management code; this needs tidying up.
* Added support for draft version of the AoE Boot Firmware Table.Michael Brown2007-07-311-0/+3
|
* Fix endianness of "shelf" fieldMichael Brown2007-07-311-1/+2
|
* Added the AoE boot information table as used by Vampyre's AoEMichael Brown2007-07-311-0/+33
| | | | | | initiator. This table needs to be replaced by something similar to iBFT (i.e. scanned for and identified by signature, rather than being at a fixed address), but it works for now.
* Quick hack to get AoE back in to the tree, on a par with the currentMichael Brown2007-07-292-4/+74
| | | | iSCSI hack.
* Merge branch 'symcheck2'Michael Brown2007-07-281-1/+1
|\
| * make netboot() staticHolger Lubitz2007-07-271-1/+1
| |
* | Prepare for iBFT merge when possible. iscsiboot.c contains a really,Michael Brown2007-07-261-0/+24
|/ | | | | | really ugly hack at present, but that doesn't hugely matter since I'm aiming to change the interface to iSCSI devices anyway within the next week.
* Fix up iscsiboot missing prototype warningsMichael Brown2007-07-092-0/+47
|
* Ready to start testingMichael Brown2007-07-081-26/+66
|
* Allow recording of TX and RX errors to aid in end-user debugging.Michael Brown2007-07-051-2/+3
|
* Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autobootMarty Connor2007-07-031-28/+0Star
|
* Add trivial net device statistics (TX and RX packet count), reportedMichael Brown2007-07-031-2/+3
| | | | via UNDI API and also by ifstat command; may be useful for debugging.
* Removed debugging statements that should not have been checked in.Michael Brown2007-06-281-2/+0Star
|
* Quick hack to get image booting working againMichael Brown2007-06-282-38/+32Star
|
* Use monojob and dhcp_configure_netdev().Michael Brown2007-06-281-68/+19Star
|
* Update DHCP to use data-xfer interface (not yet tested).Michael Brown2007-06-281-1/+10
|
* DNS code now records a whole struct sockaddr for the name server.Michael Brown2007-06-121-2/+5
|
* Scripts temporarily deregister themselves while executing. ThisMichael Brown2007-06-091-1/+2
| | | | | allows us to avoid execution loops without having to hack around the image registration order.
* hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewiseAnselm Martin Hoffmeister2007-04-091-0/+5
| | | | output buffering defintions and the like)
* TypoMichael Brown2007-03-201-2/+2
|
* Keep HTTP progress updated, and display a progress indicator during theMichael Brown2007-01-291-3/+4
| | | | download
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-195-5/+5
|
* A working name resolution frameworkMichael Brown2007-01-181-2/+10
|
* HTTP/DNS now working fully asynchronously. HTTP/IP addresses and anyMichael Brown2007-01-182-114/+8Star
| | | | other protocol won't work at the moment.
* Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviouslyMichael Brown2007-01-162-7/+7
| | | | | reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t).
* Create and use async_block() macro; it cuts down on the visual overheadMichael Brown2007-01-162-12/+5Star
| | | | | of blocking on asynchronous operations, when that isn't an important aspect of the code.
* When a network device is specified to tcpip_tx() or it's children, treatMichael Brown2007-01-161-0/+3
| | | | | | | it as a fallback network device rather than an explicitly forced network device. Clear routing table entries before re-attempting DHCP.
* Update TFTP and FTP to take the same temporary URI scheme as HTTPMichael Brown2007-01-151-9/+12
|
* Protocol's get() method no longer takes ownership of the URI. HTTP is theMichael Brown2007-01-151-2/+1Star
| | | | | exception rather than the rule; we may as well keep things clean for other protocols.
* Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown2007-01-152-29/+46
| | | | | | | | | | | 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.
* Add HTTP test supportMichael Brown2007-01-121-3/+22
|
* Use dhcp(), imgfetch() etc. to boot rather than dhcp_test().Michael Brown2007-01-121-5/+35
|
* Add "dhcp" commandMichael Brown2007-01-121-0/+4
|
* Let ifmgmt.c take care of calling efree(), since it's the once whichMichael Brown2007-01-121-3/+13
| | | | | | | took out the contract to eventually call efree() when it called fetch(). Maintain the most recently loaded image at the start of the list, so that imgautoselect() will pick it.
* Added dhcp() user-level command.Michael Brown2007-01-121-0/+83
|
* fetch() now knows nothing about struct image; it simply loads a file andMichael Brown2007-01-122-9/+13
| | | | returns the allocated buffer.
* Allow "imgexec" with no arguments to boot the file that was loaded withMichael Brown2007-01-121-0/+16
| | | | "kernel".