summaryrefslogtreecommitdiffstats
path: root/src/net
Commit message (Collapse)AuthorAgeFilesLines
* Close UDP connection when DHCP completes.Michael Brown2006-12-201-0/+3
|
* Use stdlib.h for malloc() instead of malloc.h.Michael Brown2006-12-202-2/+2
|
* Request all the options that we're prepared to do anything with.Michael Brown2006-12-121-3/+5
|
* Also request root-path.Michael Brown2006-12-081-1/+2
|
* A cleaner method of handling login redirection; just use the existingMichael Brown2006-12-061-2/+5
| | | | | reconnection mechanism. This avoids the problems of trying to reuse the TCP connection structure before the old connection has cleanly exited.
* Work around another confused-by-RST bugMichael Brown2006-12-061-0/+8
|
* Work around another instance of the port re-use bug.Michael Brown2006-12-061-0/+8
|
* Tweaked retry messagesMichael Brown2006-12-061-1/+2
|
* Added debug messagesMichael Brown2006-12-051-0/+34
|
* Call closed() method only when the connection is genuinely in theMichael Brown2006-12-051-14/+19
| | | | | TCP_CLOSED state (i.e. after the final FIN/ACK exchange), and has been removed from the list of TCP connections.
* Ensure that tcp_rx() always frees its received packet buffer.Michael Brown2006-12-051-1/+2
|
* Killed off spurious <stdio.h> inclusionMichael Brown2006-12-051-1/+0Star
|
* Avoid calling NULL methods!Michael Brown2006-12-051-12/+22
|
* Update ftp.c to work with Nikhil's TCP stack.Michael Brown2006-12-051-18/+43
| | | | Remove the now-totally-obsolete sockaddr_in field from tcp.h.
* Handle TargetAddressMichael Brown2006-12-051-0/+30
|
* Handle strings as complete units, instead of a byte at a time.Michael Brown2006-12-051-137/+74Star
|
* Add iscsi_rx_buffered_data() and supporting infrastructure.Michael Brown2006-12-051-24/+81
|
* Updated to use asynchronous operation model for iSCSI requestsMichael Brown2006-11-281-77/+413
| | | | Added CHAP authentication
* Split login into security negotation and operational parameterMichael Brown2006-10-031-25/+50
| | | | negotiation phases, to allow inclusion of CHAP authentication.
* We don't actually have a stdio.h header file. Our printf() functions areMichael Brown2006-09-279-9/+0Star
| | | | | | | | defined in vsprintf.h. (This may change, since vsprintf.h is a non-standard name, but for now it's the one to use.) There should be no need to include vsprintf.h just for DBG() statements, since include/compiler.h forces it in for a debug build anyway.
* added stdio.h to includes for DBG compilationMarty Connor2006-09-279-4/+13
|
* Made eth_ntoa() public for use in legacy drivers' DBG() statements.Michael Brown2006-09-151-1/+1
|
* Added extra debuggingMichael Brown2006-08-301-3/+6
|
* Correct option number for DHCP_DNS_SERVERS, and add it to the requestMichael Brown2006-08-271-1/+1
| | | | list.
* Fixed a bug in the TCP state machine. Added a transition from ESTABLISHED to ↵Nikhil Chandru Rao2006-08-191-57/+46Star
| | | | LAST_ACK on receiving a FIN,ACK
* IP6 supportNikhil Chandru Rao2006-08-193-14/+618
|
* Added RX tracing as well.Michael Brown2006-08-161-0/+5
|
* Added some minimal debugging for transmitted PDUs.Michael Brown2006-08-161-0/+7
|
* Bug fixes to the HTTP protocol codeDerek Pryor2006-08-121-1/+1
|
* Bug fixes to the HTTP protocol codeDerek Pryor2006-08-121-4/+3Star
|
* Fail gracefully when set_dhcp_option() is called with options==NULL.Michael Brown2006-08-111-1/+6
|
* New HTTP protocol and test codeDerek Pryor2006-08-111-0/+201
|
* command->data_{in,out} are now userptr_t, so it is invalid to compareMichael Brown2006-08-101-2/+2
| | | | against NULL.
* Fixed variable name in assertionMichael Brown2006-08-101-1/+1
|
* Towards an RFC2988-compliant timer.Michael Brown2006-08-091-18/+39
|
* Don't call stop_timer() from within the timer expiry callback; it'sMichael Brown2006-08-091-11/+10Star
| | | | | | | | | already stopped. Don't call start_timer() when sending a dataless ACK. This may or may not be the right thing to do; I can't tell. Back out broken "send ACK only if required to" logic temporarily.
* Changed the TCP state machines behaviour in the ESTABLISHED stateNikhil Chandru Rao2006-08-091-5/+15
|
* Temporarily work around the bug when port numbers are reused betweenMichael Brown2006-08-091-0/+7
| | | | subsequent runs.
* Correct some packet ownership and freeing bugs.Michael Brown2006-08-091-15/+36
|
* out_flags was being set but never used.Michael Brown2006-08-091-16/+14Star
| | | | | Use just random() to allocate initial sequence numbers; the previous algorithm ended up with a high probability of zeroing the high word.
* Port the UDP port allocation code to TCPMichael Brown2006-08-091-21/+45
|
* Remove some of the confusion surrounding the amount to strip off fromMichael Brown2006-08-091-6/+5Star
| | | | a TCP packet before passing to newdata().
* iphdr->hlen includes the IP header, so truncate packet *before*Michael Brown2006-08-091-1/+1
| | | | stripping the header. Also fix an htons/ntohs confusion.
* Remove _PROTOCOL macros for gcc 3.2 compatibilityMarty Connor2006-08-097-27/+9Star
|
* Derive xid dynamically from the netdev, so that we can callMichael Brown2006-08-091-18/+32
| | | | | | | create_dhcp_packet() from pxe_preboot.c, after the dhcp_session is long gone. Expose the functions required by pxe_preboot.c
* Clarified packet ownership transfer between a few functions.Michael Brown2006-08-095-27/+57
| | | | | | | | | | | | | Added a large number of missing calls to free_pkb(). In the case of UDP, no received packets were ever freed, which lead to memory exhaustion remarkably quickly once pxelinux started up. In general, any function with _rx() in its name which accepts a pk_buff *must* either call free_pkb() or pass the pkb to another _rx() function (e.g. the next layer up the stack). Since the UDP (and TCP) layers don't pass packet buffers up to the higher-layer protocols (the "applications"), they must free the packet buffer after calling the application's newdata() method.
* Added TFTP test code (currently just dumps file to console).Michael Brown2006-08-091-3/+6
|
* Initial (untested) implementation of TFTP over the new UDP API.Michael Brown2006-08-091-0/+471
|
* Changed ipv4_dump() to consume only one line.Nikhil Chandru Rao2006-08-091-15/+1Star
|
* Corrected bugs in the TCP logic. There might be a few more which need to be ↵Nikhil Chandru Rao2006-08-091-25/+27
| | | | taken care of.