Michael Brown
096fa94f0c
Add support for TCP timestamps
il y a 17 ans
Michael Brown
9dc6a1e678
Remove some obsolete stream-API files
il y a 17 ans
Michael Brown
edded7546e
Limit xmit window to one MTU. (Path MTU discovery not yet
implemented; should be done at some point.)
il y a 17 ans
Michael Brown
1136c19fa4
Updated tcp.c to provide a standardised data transfer interface.
il y a 17 ans
Michael Brown
3e2c6b6736
pkbuff->iobuf changeover
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;'
il y a 17 ans
Michael Brown
6d32f0e6e2
Changed to use the generic stream API.
il y a 18 ans
Michael Brown
c014f607a8
Use total free memory as advertised window. This seems to be sufficient
to avoid drops even on slow NICs.
il y a 18 ans
Michael Brown
5b00fbade3
Increase window size to 64kB. Line rate downloads on a 100Mbps link,
anyone?
il y a 18 ans
Michael Brown
526d314266
Advertise a larger MSS to improve TCP performance.
il y a 18 ans
Michael Brown
b91b9d3d88
Use whole bytes for the ACKED and RCVD portions of tcp_state; it
produces slightly smaller code.
il y a 18 ans
Michael Brown
ce9819af27
Redefine TCP state to include "flags that have been sent" rather than
"flags that are currently being sent". This allows at least one special
case (checking that we haven't already sent a FIN in tcp_rx_fin()) to be
collapsed.
il y a 18 ans
Michael Brown
61ed298bc7
Merge changes from mcb-tcp-fixes branch.
il y a 18 ans
Michael Brown
89bcb57201
Update ftp.c to work with Nikhil's TCP stack.
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
il y a 18 ans
Nikhil Chandru Rao
d2bdf81505
Removed some bugs in TCP
il y a 18 ans
Nikhil Chandru Rao
cb42e573a0
Added retransmissions to TCP
il y a 18 ans
Michael Brown
467e9627cc
Added features that will be required for PXE UDP support.
Introduced struct sockaddr_tcpip, to simplify code that deals with
both IPv4 and IPv6 addresses.
Reorganised parts of tcpip.c and udp.c.
il y a 18 ans
Nikhil Chandru Rao
9225f4edac
TCP support
il y a 18 ans
Michael Brown
8637834031
Made the temporary buffer part of the TCP senddata() API, to ease the
transition away from uIP.
Prepared ipv4.c for transition away from uIP.
il y a 18 ans
Michael Brown
f743de4858
Added tcp_kick(). This speed up LILO and GRUB booting by almost two
orders of magnitude.
il y a 18 ans
Michael Brown
9e1becaf8a
Merge TCP aborted(), timedout() and closed() methods into a single
closed() method with a reason code.
il y a 18 ans
Michael Brown
7af478b30d
Make tcp_connect() void; it will eventually have no failure case.
il y a 18 ans
Michael Brown
824d6ffa7f
Header rearrangement.
I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/. Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
il y a 18 ans
Michael Brown
c8a7133e9f
Added tcp_buffer, to give applications a zero-cost place to build data to
be transmitted.
il y a 18 ans
Michael Brown
b44332eb7d
Split non-TCP portions of the stack out into ip.[ch].
Added set_ipaddr().
il y a 18 ans
Michael Brown
a4a0244aa3
Moved uIP wrapper out of prototester.c and into proto/tcp.c.
il y a 18 ans