aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2014-05-24 14:01:18 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2014-05-24 14:01:18 +0000
commit4fd2b4eb53e537cfe98ce1b0dd3ed8f4f18605e7 (patch)
tree31331839347a8046c38a8e004ed6449efb04ca15 /sys/netinet
parentc2a0f07a10f3ad08fceb30f83828446dd5ecd5f9 (diff)
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_timewait.c3
-rw-r--r--sys/netinet/tcp_var.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 92cf17960983..3255af0061e0 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -122,6 +122,7 @@ static VNET_DEFINE(struct rwlock, tw_lock);
static void tcp_tw_2msl_reset(struct tcptw *, int);
static void tcp_tw_2msl_stop(struct tcptw *, int);
+static int tcp_twrespond(struct tcptw *, int);
/*
* tw_pcbref() bumps the reference count on an tw in order to maintain
@@ -508,7 +509,7 @@ tcp_twclose(struct tcptw *tw, int reuse)
TCPSTAT_INC(tcps_closed);
}
-int
+static int
tcp_twrespond(struct tcptw *tw, int flags)
{
struct inpcb *inp = tw->tw_inpcb;
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index afdee25f7475..2ed00e236fe6 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -678,7 +678,6 @@ void tcp_tw_destroy(void);
void tcp_tw_zone_change(void);
int tcp_twcheck(struct inpcb *, struct tcpopt *, struct tcphdr *,
struct mbuf *, int);
-int tcp_twrespond(struct tcptw *, int);
void tcp_setpersist(struct tcpcb *);
#ifdef TCP_SIGNATURE
int tcp_signature_compute(struct mbuf *, int, int, int, u_char *, u_int);