diff options
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 9954687ff55..1038cfb61ad 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.117 2013/04/02 18:27:47 bluhm Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.118 2013/04/10 08:50:59 mpi Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -84,6 +84,7 @@ #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/ip.h> +#include <netinet/in_var.h> #include <netinet/in_pcb.h> #include <netinet/ip_var.h> #include <netinet/ip_icmp.h> @@ -97,6 +98,7 @@ #ifdef INET6 #include <netinet6/in6_var.h> +#include <netinet6/ip6_var.h> #include <netinet6/ip6protosw.h> #endif /* INET6 */ @@ -137,10 +139,6 @@ int tcp_reass_limit = NMBCLUSTERS / 2; /* hardlimit for tcpqe_pool */ int tcp_sackhole_limit = 32*1024; /* hardlimit for sackhl_pool */ #endif -#ifdef INET6 -extern int ip6_defhlim; -#endif /* INET6 */ - struct pool tcpcb_pool; struct pool tcpqe_pool; #ifdef TCP_SACK @@ -778,7 +776,6 @@ tcp_ctlinput(int cmd, struct sockaddr *sa, u_int rdomain, void *v) struct in_addr faddr; tcp_seq seq; u_int mtu; - extern int inetctlerrmap[]; void (*notify)(struct inpcb *, int) = tcp_notify; int errno; |