summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timewait.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-10-16 18:21:26 +0000
committerwollman <wollman@FreeBSD.org>1995-10-16 18:21:26 +0000
commite52c654ee229f069ca2d720167cb753d60fac19b (patch)
tree7e34325964e07f2b5a18be08e2d8e025855344e1 /sys/netinet/tcp_timewait.c
parent1c55fdbaae54fa424f0c2cd826657d24bab0cbab (diff)
downloadFreeBSD-src-e52c654ee229f069ca2d720167cb753d60fac19b.zip
FreeBSD-src-e52c654ee229f069ca2d720167cb753d60fac19b.tar.gz
The ability to administratively change the MTU of an interface presents
a few new wrinkles for MTU discovery which tcp_output() had better be prepared to handle. ip_output() is also modified to do something helpful in this case, since it has already calculated the information we need.
Diffstat (limited to 'sys/netinet/tcp_timewait.c')
-rw-r--r--sys/netinet/tcp_timewait.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 4042083..b0b75b8 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95
- * $Id: tcp_subr.c,v 1.18 1995/10/10 17:45:40 wollman Exp $
+ * $Id: tcp_subr.c,v 1.19 1995/10/12 17:37:24 wollman Exp $
*/
#include <sys/param.h>
@@ -429,10 +429,6 @@ tcp_notify(inp, error)
sowwakeup(so);
}
-#ifdef MTUDISC
-static void tcp_mtudisc __P((struct inpcb *, int));
-#endif /* MTUDISC */
-
void
tcp_ctlinput(cmd, sa, ip)
int cmd;
@@ -481,7 +477,7 @@ tcp_quench(inp, errno)
* since we know the packet we just sent was dropped.
* This duplicates some code in the tcp_mss() function in tcp_input.c.
*/
-static void
+void
tcp_mtudisc(inp, errno)
struct inpcb *inp;
int errno;
OpenPOWER on IntegriCloud