Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Remove now unused tcpip.h includes. Some were already unused...



details:   https://anonhg.NetBSD.org/src/rev/fc336d6e3ecf
branches:  trunk
changeset: 832213:fc336d6e3ecf
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu May 03 07:13:48 2018 +0000

description:
Remove now unused tcpip.h includes. Some were already unused before.

diffstat:

 sys/external/bsd/ipf/netinet/ip_auth.c       |  5 ++---
 sys/external/bsd/ipf/netinet/ip_fil_netbsd.c |  5 ++---
 sys/external/bsd/ipf/netinet/ip_frag.c       |  5 ++---
 sys/external/bsd/ipf/netinet/ip_log.c        |  5 ++---
 sys/external/bsd/ipf/netinet/ip_nat.c        |  5 ++---
 sys/external/bsd/ipf/netinet/ip_nat6.c       |  3 +--
 sys/external/bsd/ipf/netinet/ip_proxy.c      |  5 ++---
 sys/external/bsd/ipf/netinet/ip_sync.c       |  5 ++---
 sys/netinet/in_proto.c                       |  5 ++---
 sys/netinet/tcp_congctl.c                    |  5 ++---
 sys/netinet/tcp_debug.c                      |  5 ++---
 sys/netinet/tcp_input.c                      |  5 ++---
 sys/netinet/tcp_output.c                     |  5 ++---
 sys/netinet/tcp_sack.c                       |  5 ++---
 sys/netinet/tcp_subr.c                       |  5 ++---
 sys/netinet/tcp_timer.c                      |  5 ++---
 sys/netinet/tcp_usrreq.c                     |  5 ++---
 sys/netinet/tcp_vtw.c                        |  3 +--
 sys/netinet6/in6_proto.c                     |  5 ++---
 usr.bin/netstat/inet.c                       |  5 ++---
 usr.bin/netstat/inet6.c                      |  5 ++---
 usr.bin/netstat/vtw.c                        |  5 ++---
 usr.bin/systat/netstat.c                     |  5 ++---
 usr.sbin/trpt/trpt.c                         |  5 ++---
 24 files changed, 46 insertions(+), 70 deletions(-)

diffs (truncated from 605 to 300 lines):

diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_auth.c
--- a/sys/external/bsd/ipf/netinet/ip_auth.c    Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_auth.c    Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_auth.c,v 1.5 2014/05/30 02:16:17 rmind Exp $        */
+/*     $NetBSD: ip_auth.c,v 1.6 2018/05/03 07:13:48 maxv Exp $ */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -111,7 +111,6 @@
 #include <netinet/udp.h>
 #include <netinet/ip_icmp.h>
 #include "netinet/ip_compat.h"
-#include <netinet/tcpip.h>
 #include "netinet/ip_fil.h"
 #include "netinet/ip_auth.h"
 #if !defined(MENTAT) && !defined(linux)
@@ -131,7 +130,7 @@
 
 #if !defined(lint)
 #if defined(__NetBSD__)
-__KERNEL_RCSID(0, "$NetBSD: ip_auth.c,v 1.5 2014/05/30 02:16:17 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_auth.c,v 1.6 2018/05/03 07:13:48 maxv Exp $");
 #else
 static const char rcsid[] = "@(#)Id: ip_auth.c,v 1.1.1.2 2012/07/22 13:45:08 darrenr Exp";
 #endif
diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_fil_netbsd.c
--- a/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c      Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c      Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_fil_netbsd.c,v 1.27 2018/05/03 07:01:08 maxv Exp $  */
+/*     $NetBSD: ip_fil_netbsd.c,v 1.28 2018/05/03 07:13:48 maxv Exp $  */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -8,7 +8,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_fil_netbsd.c,v 1.27 2018/05/03 07:01:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_fil_netbsd.c,v 1.28 2018/05/03 07:13:48 maxv Exp $");
 #else
 static const char sccsid[] = "@(#)ip_fil.c     2.41 6/5/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_fil_netbsd.c,v 1.1.1.2 2012/07/22 13:45:17 darrenr Exp";
@@ -71,7 +71,6 @@
 # include <netinet/tcp_var.h>
 #endif
 #include <netinet/udp.h>
-#include <netinet/tcpip.h>
 #include <netinet/ip_icmp.h>
 #include "netinet/ip_compat.h"
 #ifdef USE_INET6
diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_frag.c
--- a/sys/external/bsd/ipf/netinet/ip_frag.c    Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_frag.c    Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_frag.c,v 1.5 2017/04/23 19:09:29 christos Exp $     */
+/*     $NetBSD: ip_frag.c,v 1.6 2018/05/03 07:13:48 maxv Exp $ */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -73,7 +73,6 @@
 #include <netinet/udp.h>
 #include <netinet/ip_icmp.h>
 #include "netinet/ip_compat.h"
-#include <netinet/tcpip.h>
 #include "netinet/ip_fil.h"
 #include "netinet/ip_nat.h"
 #include "netinet/ip_frag.h"
@@ -87,7 +86,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_frag.c,v 1.5 2017/04/23 19:09:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_frag.c,v 1.6 2018/05/03 07:13:48 maxv Exp $");
 #else
 static const char sccsid[] = "@(#)ip_frag.c    1.11 3/24/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_frag.c,v 1.1.1.2 2012/07/22 13:45:17 darrenr Exp";
diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_log.c
--- a/sys/external/bsd/ipf/netinet/ip_log.c     Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_log.c     Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_log.c,v 1.6 2013/03/28 20:14:18 christos Exp $      */
+/*     $NetBSD: ip_log.c,v 1.7 2018/05/03 07:13:48 maxv Exp $  */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -9,7 +9,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_log.c,v 1.6 2013/03/28 20:14:18 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_log.c,v 1.7 2018/05/03 07:13:48 maxv Exp $");
 
 #include <sys/param.h>
 #if defined(KERNEL) || defined(_KERNEL)
@@ -123,7 +123,6 @@
 # include <syslog.h>
 #endif
 #include "netinet/ip_compat.h"
-#include <netinet/tcpip.h>
 #include "netinet/ip_fil.h"
 #include "netinet/ip_nat.h"
 #include "netinet/ip_frag.h"
diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_nat.c
--- a/sys/external/bsd/ipf/netinet/ip_nat.c     Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_nat.c     Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_nat.c,v 1.18 2017/07/01 16:34:17 khorben Exp $      */
+/*     $NetBSD: ip_nat.c,v 1.19 2018/05/03 07:13:48 maxv Exp $ */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -87,7 +87,6 @@
 #include <netinet/udp.h>
 #include <netinet/ip_icmp.h>
 #include "netinet/ip_compat.h"
-#include <netinet/tcpip.h>
 #include "netinet/ipl.h"
 #include "netinet/ip_fil.h"
 #include "netinet/ip_nat.h"
@@ -113,7 +112,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.18 2017/07/01 16:34:17 khorben Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.19 2018/05/03 07:13:48 maxv Exp $");
 #else
 static const char sccsid[] = "@(#)ip_nat.c     1.11 6/5/96 (C) 1995 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_nat.c,v 1.1.1.2 2012/07/22 13:45:27 darrenr Exp";
diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_nat6.c
--- a/sys/external/bsd/ipf/netinet/ip_nat6.c    Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_nat6.c    Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_nat6.c,v 1.10 2016/10/04 14:36:46 sborrill Exp $    */
+/*     $NetBSD: ip_nat6.c,v 1.11 2018/05/03 07:13:48 maxv Exp $        */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -87,7 +87,6 @@
 #include <netinet/udp.h>
 #include <netinet/ip_icmp.h>
 #include "netinet/ip_compat.h"
-#include <netinet/tcpip.h>
 #include "netinet/ip_fil.h"
 #include "netinet/ip_nat.h"
 #include "netinet/ip_frag.h"
diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_proxy.c
--- a/sys/external/bsd/ipf/netinet/ip_proxy.c   Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_proxy.c   Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_proxy.c,v 1.5 2012/07/22 16:34:04 darrenr Exp $     */
+/*     $NetBSD: ip_proxy.c,v 1.6 2018/05/03 07:13:48 maxv Exp $        */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -77,7 +77,6 @@
 #include <netinet/udp.h>
 #include <netinet/ip_icmp.h>
 #include "netinet/ip_compat.h"
-#include <netinet/tcpip.h>
 #include "netinet/ip_fil.h"
 #include "netinet/ip_nat.h"
 #include "netinet/ip_state.h"
@@ -104,7 +103,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_proxy.c,v 1.5 2012/07/22 16:34:04 darrenr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_proxy.c,v 1.6 2018/05/03 07:13:48 maxv Exp $");
 #else
 static const char rcsid[] = "@(#)Id: ip_proxy.c,v 1.1.1.2 2012/07/22 13:45:33 darrenr Exp";
 #endif
diff -r 8a0539605dcc -r fc336d6e3ecf sys/external/bsd/ipf/netinet/ip_sync.c
--- a/sys/external/bsd/ipf/netinet/ip_sync.c    Thu May 03 07:01:08 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_sync.c    Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_sync.c,v 1.5 2013/09/14 12:18:06 martin Exp $       */
+/*     $NetBSD: ip_sync.c,v 1.6 2018/05/03 07:13:48 maxv Exp $ */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -78,7 +78,6 @@
 #include <netinet/udp.h>
 #include <netinet/ip_icmp.h>
 #include "netinet/ip_compat.h"
-#include <netinet/tcpip.h>
 #include "netinet/ip_fil.h"
 #include "netinet/ip_nat.h"
 #include "netinet/ip_frag.h"
@@ -100,7 +99,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_sync.c,v 1.5 2013/09/14 12:18:06 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_sync.c,v 1.6 2018/05/03 07:13:48 maxv Exp $");
 #else
 static const char rcsid[] = "@(#)Id: ip_sync.c,v 1.1.1.2 2012/07/22 13:45:38 darrenr Exp";
 #endif
diff -r 8a0539605dcc -r fc336d6e3ecf sys/netinet/in_proto.c
--- a/sys/netinet/in_proto.c    Thu May 03 07:01:08 2018 +0000
+++ b/sys/netinet/in_proto.c    Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_proto.c,v 1.127 2018/03/15 08:15:21 maxv Exp $      */
+/*     $NetBSD: in_proto.c,v 1.128 2018/05/03 07:13:48 maxv Exp $      */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_proto.c,v 1.127 2018/03/15 08:15:21 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_proto.c,v 1.128 2018/05/03 07:13:48 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_mrouting.h"
@@ -109,7 +109,6 @@
 #include <netinet/tcp_seq.h>
 #include <netinet/tcp_timer.h>
 #include <netinet/tcp_var.h>
-#include <netinet/tcpip.h>
 #include <netinet/tcp_debug.h>
 #include <netinet/udp.h>
 #include <netinet/udp_var.h>
diff -r 8a0539605dcc -r fc336d6e3ecf sys/netinet/tcp_congctl.c
--- a/sys/netinet/tcp_congctl.c Thu May 03 07:01:08 2018 +0000
+++ b/sys/netinet/tcp_congctl.c Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_congctl.c,v 1.24 2018/03/29 07:46:43 maxv Exp $    */
+/*     $NetBSD: tcp_congctl.c,v 1.25 2018/05/03 07:13:48 maxv Exp $    */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2001, 2005, 2006 The NetBSD Foundation, Inc.
@@ -135,7 +135,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_congctl.c,v 1.24 2018/03/29 07:46:43 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_congctl.c,v 1.25 2018/05/03 07:13:48 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -180,7 +180,6 @@
 #include <netinet/tcp_seq.h>
 #include <netinet/tcp_timer.h>
 #include <netinet/tcp_var.h>
-#include <netinet/tcpip.h>
 #include <netinet/tcp_congctl.h>
 #ifdef TCP_DEBUG
 #include <netinet/tcp_debug.h>
diff -r 8a0539605dcc -r fc336d6e3ecf sys/netinet/tcp_debug.c
--- a/sys/netinet/tcp_debug.c   Thu May 03 07:01:08 2018 +0000
+++ b/sys/netinet/tcp_debug.c   Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_debug.c,v 1.31 2018/03/29 07:46:43 maxv Exp $      */
+/*     $NetBSD: tcp_debug.c,v 1.32 2018/05/03 07:13:48 maxv Exp $      */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_debug.c,v 1.31 2018/03/29 07:46:43 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_debug.c,v 1.32 2018/05/03 07:13:48 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -99,7 +99,6 @@
 #include <netinet/tcp_seq.h>
 #include <netinet/tcp_timer.h>
 #include <netinet/tcp_var.h>
-#include <netinet/tcpip.h>
 #include <netinet/tcp_debug.h>
 
 struct tcp_debug tcp_debug[TCP_NDEBUG];
diff -r 8a0539605dcc -r fc336d6e3ecf sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c   Thu May 03 07:01:08 2018 +0000
+++ b/sys/netinet/tcp_input.c   Thu May 03 07:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_input.c,v 1.406 2018/04/28 13:26:57 maxv Exp $     */
+/*     $NetBSD: tcp_input.c,v 1.407 2018/05/03 07:13:48 maxv Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.406 2018/04/28 13:26:57 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.407 2018/05/03 07:13:48 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -210,7 +210,6 @@
 #include <netinet/tcp_timer.h>
 #include <netinet/tcp_var.h>
 #include <netinet/tcp_private.h>
-#include <netinet/tcpip.h>



Home | Main Index | Thread Index | Old Index