summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix creation of the htype field; the ll_proto field from which it isMichael Brown2006-07-171-1/+11
| | | | derived is a 16-bit big-endian field, but htype is only 8 bits wide.
* Add sketch code to reassemble a DHCP packet from our internal "everythingMichael Brown2006-07-172-0/+23
| | | | | | | | | | is a DHCP option" data structures. We need this code in order to be able to return a DHCP packet to a PXE NBP which reflects options from our multiple sources (e.g. NVS and DHCP server). This is expensive, but necessary. Having paid this cost, we may as well try to use the same code to generate our DHCP request packets, since the process is similar.
* Add (untested) code for parsing a received DHCP packet and constructing aMichael Brown2006-07-151-3/+150
| | | | DHCP options block from the contents.
* Add code to modify DHCP option values within a block.Michael Brown2006-07-131-5/+65
|
* Added fragment reassembly codeNikhil Chandru Rao2006-06-301-0/+23
|
* Removing net/interface.c and include/gpxe/interface.hNikhil Chandru Rao2006-06-291-90/+0Star
|
* Provide a mechanism for returning the encapsulator as well as theMichael Brown2006-06-281-0/+14
| | | | | encapsulated option; this will be needed for modifications to the options block.
* Renamed net/interface.c and include/gpxe/interface.h to net/tcpip_if.c and ↵Nikhil Chandru Rao2006-06-283-1/+99
| | | | include/gpxe/tcpip_if.h respectively. Made changes in the other files.
* Add priority mechanismMichael Brown2006-06-281-0/+9
|
* typo in macro fixedDan Lynch2006-06-281-1/+1
|
* Added ipv4_pseudo_header structureNikhil Chandru Rao2006-06-281-10/+8Star
|
* IP6 specificationsNikhil Chandru Rao2006-06-281-0/+37
|
* Fixed whitespaces; updated UDP codeNikhil Chandru Rao2006-06-281-14/+13Star
|
* First stab at DHCP option handling in a way that will allow us to haveMichael Brown2006-06-271-0/+87
| | | | | multiple option sources (e.g. multiple DHCP replies, non-volatile storage etc.)
* - multiple static inline definitions addedDan Lynch2006-06-271-103/+194
| | | | | | - changes made to some constants and macros - changes made to _curses_screen struct - identified and removed prototypes for yet more unsupportable functions
* added generalized sockaddr structure and ip6 sockaddrNikhil Chandru Rao2006-06-251-0/+60
|
* added support for processing and transmitting without uIPNikhil Chandru Rao2006-06-251-0/+26
|
* updated UDP interfaceNikhil Chandru Rao2006-06-251-7/+57
|
* created interface for transport-network interfaceNikhil Chandru Rao2006-06-251-0/+90
|
* Update ftp.c and hello.c to use the generic async_operations API.Michael Brown2006-06-192-11/+12
|
* PlaceholderMichael Brown2006-06-181-0/+49
|
* Made the temporary buffer part of the TCP senddata() API, to ease theMichael Brown2006-06-181-3/+11
| | | | | | transition away from uIP. Prepared ipv4.c for transition away from uIP.
* Simplify RX data path.Michael Brown2006-06-185-181/+78Star
| | | | | | | | | | Kill off the static single net device and move to proper dynamic registration (which we need with the new device model). Break the (flawed) assumption that all network-layer protocols can use ARP; such network-layer protocols (i.e. IPv4) must now register as an ARP protocol using ARP_NET_PROTOCOL() and provide a single method for checking the existence of a local network-layer address.
* Simplify TX datapath.Michael Brown2006-06-163-75/+47Star
|
* Added iSCSI boot test codeMichael Brown2006-06-141-0/+3
|
* Generalise three-wire interface to generic SPI interface.Michael Brown2006-06-143-102/+197
| | | | | Update rtl8139 driver to instantiate an SPI interface with a three-wire device attached.
* Move per-transition delays from generic bit-bashing layer to i2c layerMichael Brown2006-06-141-2/+0Star
| | | | (since SPI bit-bashing will require different delay semantics).
* Change read_bit() to return 0 or -1UL, rather than 0 or 1.Michael Brown2006-06-121-0/+2
|
* Added bit-bashing i2c interface codeMichael Brown2006-06-111-0/+109
|
* Added sketch of bit-bashing interface common codeMichael Brown2006-06-081-0/+44
|
* Added a very quick and dirty compatibility layer, to allowMichael Brown2006-06-051-27/+37
| | | | not-yet-updated drivers to at least function.
* Improve tcpdump legibility.Michael Brown2006-06-011-0/+2
|
* Updated retry timer mechanism to incorporate smoothed RTT estimation.Michael Brown2006-06-011-11/+10Star
| | | | AoE now uses the retry timer mechanism.
* Make DBG_DISCARD correctMichael Brown2006-06-011-1/+1
|
* Backing out last change; no immediate plans to make the whole block-deviceMichael Brown2006-06-011-5/+3Star
| | | | | layer asynchronous, so keeping the sync/async boundary within aoedev.c seems cleanest for now.
* ATA devices are now asynchronous. The ATA layer itself now performs theMichael Brown2006-05-312-4/+7
| | | | | | | | async_wait(), though we may wish to move this higher up the stack, and consider making the block device model asynchronous. (There is only a marginal cost for synchronous devices, since they can simply call async_done() before returning; async_wait() will work seamlessly in this situation).
* Added generic asynchronous operations code.Michael Brown2006-05-313-18/+82
| | | | | | | | | Removed data_in_len and data_out_len from ata_command structure; the lengths are implied by the sector count and the presence of the data_in or data_out pointers. Changed AoE code to use subcommands by default, and made aoe_issue() nonblocking (with completion via async_wait()).
* Added first sketch of a generic retry timer mechanism. The idea is to useMichael Brown2006-05-291-0/+36
| | | | | | | these timer objects in AoE and UDP protocols (where there is no underlying retransmission mechanism) without requiring each protocol to implement its own individual retry logic. Eventually, we should be able to use the same timer code for TCP retransmissions as well.
* Handle multi-sector reads by splitting them into subcommands.Michael Brown2006-05-292-0/+5
|
* Initial AoE implementation. Limitations are:Michael Brown2006-05-291-0/+124
| | | | | | | | | | | Cannot yet handle reads of more than two sectors No retransmission No way to find out a target's MAC address (this proof of concept uses broadcasts) These limitations shall not last long! :)
* Use separate data-in and data-out buffers.Michael Brown2006-05-291-29/+37
| | | | Increase code simplicity at the expense of around 64 bytes.
* Add ETH_P_AOEMichael Brown2006-05-281-0/+1
|
* Added tcp_kick(). This speed up LILO and GRUB booting by almost twoMichael Brown2006-05-271-0/+1
| | | | orders of magnitude.
* Make PKB_ZLEN the minimum possible size of packet buffer (to allow forMichael Brown2006-05-271-0/+9
| | | | hardware that can't autopad).
* Added abstraction layer for a three-wire serial device (e.g. the EEPROMMichael Brown2006-05-261-0/+102
| | | | used on RTL8139 cards).
* Removed some obsolete INIT_XXX constants.Michael Brown2006-05-251-5/+0Star
|
* - implemented printw (formatted string output, a la printf)Dan Lynch2006-05-221-70/+114
| | | | | | - implemented hline/vline (part of wborder family) - screen cursor now relocates at same time as window cursor when restoring after a non-wrapping function
* Allow vcprintf() to be called by external code such as the curses library.Michael Brown2006-05-221-0/+29
| | | | Also trim another eight bytes from vsprintf.o. :)
* - fixes to _wputch to get positioning and wrap working properlyDan Lynch2006-05-221-18/+30
| | | | | - fixes to wborder (same) - addition of a few minor functions
* Made the LBA48 example clearer.Michael Brown2006-05-211-4/+4
|