aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-10-16 18:21:26 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-10-16 18:21:26 +0000
commit3d1f141b2394649c285cb064a4f8a858f407b78d (patch)
tree7e34325964e07f2b5a18be08e2d8e025855344e1 /sys/netinet/tcp_subr.c
parent3cc7679dcac93272e097b258bd2918dcfe137371 (diff)
downloadsrc-3d1f141b2394649c285cb064a4f8a858f407b78d.tar.gz
src-3d1f141b2394649c285cb064a4f8a858f407b78d.zip
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.
Notes
Notes: svn path=/head/; revision=11537
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 404208399745..b0b75b8ee696 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.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;