From owner-svn-src-all@FreeBSD.ORG Sat May 24 14:01:18 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7F0924D; Sat, 24 May 2014 14:01:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C62842DE2; Sat, 24 May 2014 14:01:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4OE1IeN009990; Sat, 24 May 2014 14:01:18 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4OE1IBZ009986; Sat, 24 May 2014 14:01:18 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <201405241401.s4OE1IBZ009986@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 24 May 2014 14:01:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266618 - head/sys/netinet X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2014 14:01:18 -0000 Author: bz Date: Sat May 24 14:01:18 2014 New Revision: 266618 URL: http://svnweb.freebsd.org/changeset/base/266618 Log: Make tcp_twrespond() file local private; this removes it from the public KPI; it is not used anywhere else and seems it never was. MFC after: 2 weeks Modified: head/sys/netinet/tcp_timewait.c head/sys/netinet/tcp_var.h Modified: head/sys/netinet/tcp_timewait.c ============================================================================== --- head/sys/netinet/tcp_timewait.c Sat May 24 13:34:41 2014 (r266617) +++ head/sys/netinet/tcp_timewait.c Sat May 24 14:01:18 2014 (r266618) @@ -122,6 +122,7 @@ static VNET_DEFINE(struct rwlock, tw_loc 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; Modified: head/sys/netinet/tcp_var.h ============================================================================== --- head/sys/netinet/tcp_var.h Sat May 24 13:34:41 2014 (r266617) +++ head/sys/netinet/tcp_var.h Sat May 24 14:01:18 2014 (r266618) @@ -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);