diff options
author | bz <bz@FreeBSD.org> | 2014-08-16 13:58:45 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2014-08-16 13:58:45 +0000 |
commit | a0d38198452e79a7d1fb0f1837a8a2562f91a102 (patch) | |
tree | 051dfd97c68c86ed790e9aab8cb2d1f513cfbd6f /sys/netinet | |
parent | 5876bf013badaaddcea6d1c75b5b24fa230315ca (diff) | |
download | FreeBSD-src-a0d38198452e79a7d1fb0f1837a8a2562f91a102.zip FreeBSD-src-a0d38198452e79a7d1fb0f1837a8a2562f91a102.tar.gz |
MFC r266618:
Make tcp_twrespond() file local private; this removes it from the
public KPI; it is not used anywhere else and seems it never was.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_timewait.c | 3 | ||||
-rw-r--r-- | sys/netinet/tcp_var.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 7e6128b..65d1c83 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -105,6 +105,7 @@ static VNET_DEFINE(TAILQ_HEAD(, tcptw), twq_2msl); static void tcp_tw_2msl_reset(struct tcptw *, int); static void tcp_tw_2msl_stop(struct tcptw *); +static int tcp_twrespond(struct tcptw *, int); static int tcptw_auto_size(void) @@ -501,7 +502,7 @@ tcp_twclose(struct tcptw *tw, int reuse) uma_zfree(V_tcptw_zone, tw); } -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 5935fcd..398df8b 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -695,7 +695,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); |