summaryrefslogtreecommitdiffstats
path: root/src/net
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add sanity check and extra debug messageMichael Brown2007-05-281-0/+5
| |
* | Introduce name resolution interface and named socket opener.Michael Brown2007-05-271-1/+1
| |
* | Eliminate PF_INET; just use the AF_INET from the struct sockaddr instead.Michael Brown2007-05-261-12/+20
| |
* | Modify data-xfer semantics: it is no longer necessary to call one ofMichael Brown2007-05-261-42/+11Star
| | | | | | | | | | | | | | | | | | request(), seek() or deliver_xxx() in order to start the data flow. Autonomous generators must be genuinely autonomous (having their own process), or otherwise arrange to be called. TCP does this by starting the retry timer immediately. Add some debugging statements.
* | Updated tcp.c to provide a standardised data transfer interface.Michael Brown2007-05-251-348/+406
|/
* Rename pkbpad.c to iobpad.cMichael Brown2007-05-191-0/+0
|
* pkbuff->iobuf changeoverMichael Brown2007-05-1913-381/+308Star
| | | | | | | | Achieved via Perl using: perl -pi -e 's/pk_buff/io_buffer/g; s/Packet buffer/I\/O buffer/ig; ' \ -e 's/pkbuff\.h/iobuf.h/g; s/pkb_/iob_/g; s/_pkb/_iob/g; ' \ -e 's/pkb/iobuf/g; s/PKB/IOB/g;'
* hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewiseAnselm Martin Hoffmeister2007-04-091-1/+1
| | | | output buffering defintions and the like)
* hoffmeis: Fixing situation where absence of a newdata() handler for UDPAnselm Martin Hoffmeister2007-04-091-5/+10
| | | | | connections might break things. Only-sending applications like syslog() do not need a newdata() handler, so added a check if that handler exists.
* Updated ISAPnP, EISA, MCA and ISA buses to current device model.Michael Brown2007-03-101-1/+1
| | | | | | | ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and MCA (3c529) variants should build OK. None of this code is yet tested.
* Allow queries in GET requestsMichael Brown2007-02-011-5/+7
|
* SSL needs quite a lot of spare memoryMichael Brown2007-02-011-1/+1
|
* Don't pass through zero-length requestsMichael Brown2007-02-011-0/+12
|
* Placeholder for TLS insertionMichael Brown2007-01-311-8/+19
|
* Filter insertion now actually worksMichael Brown2007-01-311-1/+5
|
* Tidy up debug messagesMichael Brown2007-01-311-9/+24
|
* Add insert_filter() functionMichael Brown2007-01-311-0/+24
|
* Changed to use the generic stream API.Michael Brown2007-01-315-418/+471
|
* First sketch of stream APIMichael Brown2007-01-311-1/+223
|
* PlaceholderMichael Brown2007-01-301-0/+61
|
* Low-overhead filter streamsMichael Brown2007-01-301-0/+163
|
* Keep HTTP progress updated, and display a progress indicator during theMichael Brown2007-01-291-0/+4
| | | | download
* Added SIGKILL handlerMichael Brown2007-01-191-0/+15
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-1911-11/+11
|
* A working name resolution frameworkMichael Brown2007-01-182-9/+12
|
* Have DHCP set the nameserver, rather than DNS read the DHCP nameserverMichael Brown2007-01-181-12/+16
| | | | value.
* Use total free memory as advertised window. This seems to be sufficientMichael Brown2007-01-182-4/+17
| | | | to avoid drops even on slow NICs.
* Move include/malloc.h to include/gpxe/malloc.h, since everything in thereMichael Brown2007-01-181-1/+1
| | | | | | | is now gPXE-specific. (The standard malloc() et al have been in stdlib.h for a while). Add free memory counter.
* Include stdlib.h rather than malloc.hMichael Brown2007-01-182-5/+2Star
|
* Remove the one-packet-per-poll-cycle limit; it seems to no longer beMichael Brown2007-01-181-24/+5Star
| | | | needed now that performance is up.
* Presize the download buffer when we see the Content-Length header;Michael Brown2007-01-181-0/+12
| | | | | this saves around 70us per received packet (which is around 50% of the overall packet processing time).
* Reorder functions to more closely reflect the flow of controlMichael Brown2007-01-181-56/+47Star
|
* Switch from calloc() to malloc()+memset() to match the practices usedMichael Brown2007-01-182-2/+6
| | | | almost everywhere else.
* HTTP/DNS now working fully asynchronously. HTTP/IP addresses and anyMichael Brown2007-01-182-34/+62
| | | | other protocol won't work at the moment.
* Use struct sockaddr rather than struct sockaddr_tcpipMichael Brown2007-01-181-9/+12
| | | | Tidy up code
* When a network device is specified to tcpip_tx() or it's children, treatMichael Brown2007-01-163-4/+4
| | | | | | | it as a fallback network device rather than an explicitly forced network device. Clear routing table entries before re-attempting DHCP.
* Improve debuggingMichael Brown2007-01-161-29/+45
|
* Improve debug messagesMichael Brown2007-01-161-2/+21
|
* Improved debuggingMichael Brown2007-01-161-15/+24
|
* Quickly hack in DNS resolution as a proof of conceptMichael Brown2007-01-151-6/+22
|
* A working DNS resolver (not yet tied in to anything)Michael Brown2007-01-151-0/+463
|
* Update TFTP and FTP to take the same temporary URI scheme as HTTPMichael Brown2007-01-152-65/+147
|
* Protocol's get() method no longer takes ownership of the URI. HTTP is theMichael Brown2007-01-151-3/+0Star
| | | | | exception rather than the rule; we may as well keep things clean for other protocols.
* Must free http on the error path; nothing else will do itMichael Brown2007-01-151-0/+1
|
* Unmaintained example code is probably worse than useless.Michael Brown2007-01-151-122/+0Star
|
* Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown2007-01-157-38/+107
| | | | | | | | | | | 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.
* Make TCP give up immediately when it receives -ENETUNREACH fromMichael Brown2007-01-141-39/+55
| | | | | | | tcpip_tx(). This avoids the irritating wait when you accidentally type "kernel pxelinux.0" before bringing up the network interface. Add ENETUNREACH to strerror()'s list.
* Use -ENETUNREACH to mean "no reachable network device exists, don't botherMichael Brown2007-01-142-2/+2
| | | | retrying".
* Advertise a larger MSS to improve TCP performance.Michael Brown2007-01-131-1/+10
|
* Fixed HTTPMichael Brown2007-01-121-132/+290
|