summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial (untested) implementation of TFTP over the new UDP API.Michael Brown2006-08-091-2/+20
|
* Added some TFTP definitions for use with the new UDP API.Michael Brown2006-08-091-0/+125
|
* gcc3 compatibility: removed ARP_NET_PROTOCOL().Michael Brown2006-08-081-7/+2Star
|
* Removed some bugs in TCPNikhil Chandru Rao2006-08-082-4/+4
|
* Added retransmissions to TCPNikhil Chandru Rao2006-08-071-0/+6
|
* Remove unused attribute from __table macros; the tables are no longerMichael Brown2006-08-071-3/+3
| | | | | | static since otherwise gcc4 optimises them away completely. Also, it really *is* an error if the table start and end are unused, so they certainly shouldn't be marked with attribute unused.
* Convert some trivial functions to static inlines.Michael Brown2006-08-041-3/+56
|
* Make the UDP senddata() methods return a status code.Michael Brown2006-08-041-3/+3
| | | | | | udp_connect() now follows the standard BSD sockets semantics and simply sets the default address for outgoing packets; it doesn't filter incoming packets.
* Updated PXE UDP implementation to use the new Etherboot UDP API.Michael Brown2006-08-031-0/+5
| | | | | | | Updated PXE API dispatcher to use copy_{to,from}_user, and moved to arch/i386 since the implementation is quite architecture-dependent. (The individual PXE API calls can be largely architecture-independent.)
* Moved the basic struct sockaddr out of in.h.Michael Brown2006-08-021-0/+31
|
* Added features that will be required for PXE UDP support.Michael Brown2006-08-025-92/+98
| | | | | | | Introduced struct sockaddr_tcpip, to simplify code that deals with both IPv4 and IPv6 addresses. Reorganised parts of tcpip.c and udp.c.
* TCP supportNikhil Chandru Rao2006-08-011-0/+106
|
* Minor changes to the network layer rx() functionsNikhil Chandru Rao2006-08-012-4/+15
|
* Remove unused functions.Michael Brown2006-08-011-6/+3Star
|
* Renamed trans_{rx,tx}() to tcpip_{rx,tx}(), since they are specific toMichael Brown2006-08-011-2/+2
| | | | | the TCP/IP protocol suite (rather than being general transport-layer functions).
* Renamed tcpip_if.[ch] to tcpip.[ch]Michael Brown2006-08-011-0/+0
|
* Add dhcp_snprintf() for extracting DHCP string options.Michael Brown2006-07-201-0/+10
|
* Print out the lease time, just to show how easy it is.Michael Brown2006-07-201-0/+3
|
* Added dhcp_ipv4_option() and friends.Michael Brown2006-07-201-0/+7
| | | | Added test code to configure the interface for IPv4 after DHCP.
* Now successfully negotiates the whole DHCPDISCOVER/OFFER/REQUEST/ACKMichael Brown2006-07-201-5/+11
| | | | cycle. :)
* Correct TCP/IP checksum generation.Michael Brown2006-07-201-1/+3
|
* Minor editsNikhil Chandru Rao2006-07-191-1/+1
|
* Now capable of sending what, to me, looks like a valid DHCPDISCOVERMichael Brown2006-07-191-2/+10
| | | | (apart from the bad UDP checksum).
* Add pkb_available()Michael Brown2006-07-191-0/+10
|
* Added some debug messages and DHCP test codeMichael Brown2006-07-191-0/+2
|
* Proof of concept: transmit a single DHCPDISCOVER and dump out anyMichael Brown2006-07-191-0/+3
| | | | parsed DHCP responses.
* Added missing prototypeMichael Brown2006-07-191-0/+1
|
* Add some DHCP options that we are likely to useMichael Brown2006-07-191-1/+33
|
* Correct typoMichael Brown2006-07-191-1/+1
|
* The following edits were made: \Nikhil Chandru Rao2006-07-192-6/+18
| | | | | | 1. Updated UDP send data code\ 2. Corrected internet checksum\ 3. Moved udp_buffer() and udp_buflen() to udp.c from udp.h
* Added macros for generating static DHCP optionsMichael Brown2006-07-191-0/+60
|
* Split DHCP packet creation into two parts: creating the basic packetMichael Brown2006-07-191-82/+117
| | | | | | | structure, and populating it with options. This should allow us to use the same basic options list for both DHCPDISCOVER and DHCPREQUEST, plus making it much easier to set the non-constant parameters (e.g. requested IP address) in request packets.
* Allow for calling find_dhcp_option() with "options" set to NULL, in orderMichael Brown2006-07-191-49/+6Star
| | | | | | | to search through all registered option blocks. Move some static inlines that are likely to be used frequently into dhcpopts.c as normal functions, to save space.
* 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-171-0/+22
| | | | | | | | | | 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
|
* 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.)
* 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
|