summaryrefslogtreecommitdiffstats
path: root/src/usr
Commit message (Collapse)AuthorAgeFilesLines
* 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".
* Cleaner separation between imgXXX() functions and image_cmd.cMichael Brown2007-01-122-9/+75
|
* Add basic "fetch" and "imgstat" commands.Michael Brown2007-01-122-0/+130
|
* Warn when net device on an active route is not open.Michael Brown2007-01-101-0/+2
|
* Add route() function to display routing table.Michael Brown2007-01-102-0/+44
|
* Try booting from the "boot" network device first (i.e. the one which weMichael Brown2007-01-101-7/+80
| | | | | were loaded from). The code to identify this device isn't present yet, but the code to act upon the knowledge is.
* Add "name" field to struct device to allow human-readable hardware deviceMichael Brown2007-01-101-2/+3
| | | | | | | | | | | names. Add "dev" pointer in struct net_device to tie network interfaces back to a hardware device. Force natural alignment of data types in __table() macros. This seems to prevent gcc from taking the unilateral decision to occasionally increase their alignment (which screws up the table packing).
* Move header file for usr/autoboot.c to include/usrMichael Brown2007-01-101-1/+3
|
* Added network interface management commandsMichael Brown2007-01-102-13/+75
|
* Add "name" field to network device, to facilitate netdev commands.Michael Brown2007-01-101-1/+1
|
* Make open() and close() an official part of the netdevice API.Michael Brown2007-01-041-3/+15
| | | | Call netdevice's poll() and transmit() methods only when device is open.
* Split the (quick hack) boot logic out from main.c to autoboot.c, add aMichael Brown2006-12-201-0/+40
"boot" command to attempt booting from within the command shell, fall back to shell if boot fails for any reason.