History log of /netbsd-src/sys/netinet/tcp_output.c (Results 176 – 200 of 222)
Revision Date Author Comments
# a4378614 20-Jan-1999 thorpej <thorpej@NetBSD.org>

Fix a problem pointed out by Charles Hannum; DF wasn't being set in
SYN,ACK packets during Path MTU Discovery. Fix tcp_respond() to do the
appropriate route lookup and set DF as appropriate.

Also,

Fix a problem pointed out by Charles Hannum; DF wasn't being set in
SYN,ACK packets during Path MTU Discovery. Fix tcp_respond() to do the
appropriate route lookup and set DF as appropriate.

Also, fixup similar code in tcp_output() to relookup the route if it
is down.

show more ...


# 93454aaf 16-Dec-1998 thorpej <thorpej@NetBSD.org>

Delay sending if SS_MORETOCOME is set in so_state. This avoids the case
where the user issued a write with a length greater than MLEN but less
than MINCLSIZE, thus causing two mbufs to be used. The

Delay sending if SS_MORETOCOME is set in so_state. This avoids the case
where the user issued a write with a length greater than MLEN but less
than MINCLSIZE, thus causing two mbufs to be used. The loop in sosend()
would then call PRU_SEND twice, causing TCP to transmit 2 packets when
it could have transmitted one.

Suggested by Justin Walker <justin@apple.com> on the freebsd-net
mailing list.

show more ...


# 8e8f38e0 06-Oct-1998 matt <matt@NetBSD.org>

Add a sysctl for newreno (default to off).


# 25054b5c 04-Oct-1998 matt <matt@NetBSD.org>

Adapt the NEWRENO changes from the UCSB diffs of BSDI 3.0's TCP
to NetBSD. Ignore the SACK & FACK stuff for now.


# cca4e566 21-Jul-1998 mycroft <mycroft@NetBSD.org>

Implement a better fix for the `gratuitous FIN' problem, as
mentioned on tcp-impl but with a bit more commentary.


# fa20f24c 17-Jul-1998 thorpej <thorpej@NetBSD.org>

Add a comment wrt. a current issue w/ CWM.


# 830879a8 17-Jul-1998 thorpej <thorpej@NetBSD.org>

Comment where the Restart Window is computed, and in the non-CWM case,
make sure it never _increases_ cwnd.


# 065cac97 07-Jul-1998 sommerfe <sommerfe@NetBSD.org>

Delete bogus (void) cast of m_freem (which is already a void function..)


# 5596fe26 11-May-1998 thorpej <thorpej@NetBSD.org>

Nuke TUBA per my note to tech-net; there's no reason to keep it around.


# 1ffa60ac 06-May-1998 thorpej <thorpej@NetBSD.org>

Use macros from tcp_timer.h to manipulate TCP timers, so that their
implementation can be changed easily.


# e1934b4c 02-May-1998 thorpej <thorpej@NetBSD.org>

Correct a comment related to Congestion Window Monitoring.


# ce40806e 30-Apr-1998 thorpej <thorpej@NetBSD.org>

In the CWM code, don't use the Floyd initial window computation as
the burst size allowed, but rather a fixed number of packets, as
described in the Internet Draft. Default allowed burst is 4 packet

In the CWM code, don't use the Floyd initial window computation as
the burst size allowed, but rather a fixed number of packets, as
described in the Internet Draft. Default allowed burst is 4 packets,
per the Draft.

Make the use of CWM and the allowed burst size tunable via sysctl.

show more ...


# 1579dcec 29-Apr-1998 kml <kml@NetBSD.org>

Add support for deletion of routes added by path MTU discovery;
uses new generic route timeout code. Add sysctl for timeout period.


# fcf02279 13-Apr-1998 kml <kml@NetBSD.org>

Fix to ensure that the correct MSS is advertised for loopback
TCP connections by using the MTU of the interface. Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interfac

Fix to ensure that the correct MSS is advertised for loopback
TCP connections by using the MTU of the interface. Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interface to calculate the advertised MSS.

show more ...


# f9463514 01-Apr-1998 thorpej <thorpej@NetBSD.org>

Implement Congestion Window Monitoring as described in the TCPIMPL
meeting of IETF #41 by Amy Hughes <ahughes@isi.edu>, and in an upcoming
internet draft from Hughes, Touch, and Heidemann.

CWM elimi

Implement Congestion Window Monitoring as described in the TCPIMPL
meeting of IETF #41 by Amy Hughes <ahughes@isi.edu>, and in an upcoming
internet draft from Hughes, Touch, and Heidemann.

CWM eliminates line-rate bursts after idle periods by counting pending
(unacknowledged) packets and limiting the congestion window to the
initial congestion window plus the pending packet count. This has the
effect of allowing us to use the window as long as we continue to transmit,
but as soon as we stop transmitting, we go back to a slow-start (also known
as `use it or lose it').

This is not enabled by default. You can enable this behavior by patching
the "tcp_cwm" global (set it to non-zero) or by building a kernel with the
TCP_CWM option.

show more ...


# 2da6c912 31-Mar-1998 thorpej <thorpej@NetBSD.org>

Fix a potential-congestion case in the larger initial congestion window
code, as clarified in the TCPIMPL WG meeting at IETF #41: If the SYN
(active open) or SYN,ACK (passive open) was retransmitted,

Fix a potential-congestion case in the larger initial congestion window
code, as clarified in the TCPIMPL WG meeting at IETF #41: If the SYN
(active open) or SYN,ACK (passive open) was retransmitted, the initial
congestion window for the first slow start of that connection must be
one segment.

show more ...


# 96954c2a 24-Mar-1998 kml <kml@NetBSD.org>

Ensure that we take the IP option length into account when we calculate
the effective maximum send size for TCP. ip_optlen() and tcp_optlen()
should probably be inlined for efficiency.


# 123232e1 19-Mar-1998 kml <kml@NetBSD.org>

Fix a retransmission bug introduced by the Brakmo and Peterson
RTO estimation changes. Under some circumstances it would return a value
of 0, while the old Van Jacobson RTO code would return a minim

Fix a retransmission bug introduced by the Brakmo and Peterson
RTO estimation changes. Under some circumstances it would return a value
of 0, while the old Van Jacobson RTO code would return a minimum of 3.
This would result in 12 retransmissions, each 1 second apart.
This takes care of those instances, and ensures that t_rttmin is
used everywhere as a lower bound.

show more ...


# ffb211fb 17-Mar-1998 kml <kml@NetBSD.org>

Ensure that the TCP segment size reflects the size of TCP options
in the packet. This fixes a bug that was resulting in extra packets
in retransmissions (the second packet would be 12 bytes long,
re

Ensure that the TCP segment size reflects the size of TCP options
in the packet. This fixes a bug that was resulting in extra packets
in retransmissions (the second packet would be 12 bytes long,
reflecting the RFC1323 timestamp option size).

show more ...


# 5837cc6b 19-Feb-1998 thorpej <thorpej@NetBSD.org>

Update copyright (sigh, should have done this long ago).


# e5e283e0 05-Jan-1998 thorpej <thorpej@NetBSD.org>

Finishing merging 4.4BSD-Lite2 netinet. At this point, the only changes
left were SCCS IDs and Copyright dates.


# 673fb149 31-Dec-1997 thorpej <thorpej@NetBSD.org>

Implement a queue for delayed ACK processing. This queue is used in
tcp_fasttimo() in lieu of scanning all open TCP connections.


# 82ce1f6a 17-Dec-1997 thorpej <thorpej@NetBSD.org>

From 4.4BSD-Lite2:
- If we fail to allocate mbufs for the outgoing segment, free the header
and abort.

From Stevens:
- Ensure the persist timer is running if the send window reaches zero.
Part o

From 4.4BSD-Lite2:
- If we fail to allocate mbufs for the outgoing segment, free the header
and abort.

From Stevens:
- Ensure the persist timer is running if the send window reaches zero.
Part of the fix for kern/2335 (pete@daemon.net).

show more ...


# c02a72fc 11-Dec-1997 thorpej <thorpej@NetBSD.org>

Implement an infrastructure to allow larger initial congestion windows.
The sysctl'able variable "tcp_init_win", when set to 0, selects an
auto-tuning algorithm for selecting the initial window, base

Implement an infrastructure to allow larger initial congestion windows.
The sysctl'able variable "tcp_init_win", when set to 0, selects an
auto-tuning algorithm for selecting the initial window, based on transmit
segment size, per discussion in the IETF tcpimpl working group.

Default initial window is still 1 segment, but will soon become 2 segments,
per discussion in tcpimpl.

show more ...


# 8346cea6 11-Dec-1997 thorpej <thorpej@NetBSD.org>

Count delayed ACKs after they have been sucessfully transmitted.


123456789