Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Added #include <kvm.h> since netstat.h, whic...
details: https://anonhg.NetBSD.org/src/rev/1a3892c4eb6a
branches: trunk
changeset: 583399:1a3892c4eb6a
user: rpaulo <rpaulo%NetBSD.org@localhost>
date: Thu Aug 04 19:41:28 2005 +0000
description:
Added #include <kvm.h> since netstat.h, which is included too, needs it.
diffstat:
usr.bin/netstat/atalk.c | 5 +++--
usr.bin/netstat/fast_ipsec.c | 5 +++--
usr.bin/netstat/if.c | 5 +++--
usr.bin/netstat/inet.c | 5 +++--
usr.bin/netstat/inet6.c | 5 +++--
usr.bin/netstat/ipsec.c | 5 +++--
usr.bin/netstat/iso.c | 5 +++--
usr.bin/netstat/mbuf.c | 5 +++--
usr.bin/netstat/mroute.c | 5 +++--
usr.bin/netstat/mroute6.c | 3 ++-
usr.bin/netstat/ns.c | 5 +++--
usr.bin/netstat/route.c | 5 +++--
12 files changed, 35 insertions(+), 23 deletions(-)
diffs (truncated from 303 to 300 lines):
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/atalk.c
--- a/usr.bin/netstat/atalk.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/atalk.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atalk.c,v 1.8 2003/08/07 11:15:18 agc Exp $ */
+/* $NetBSD: atalk.c,v 1.9 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from @(#)atalk.c 1.1 (Whistle) 6/6/96";
#else
-__RCSID("$NetBSD: atalk.c,v 1.8 2003/08/07 11:15:18 agc Exp $");
+__RCSID("$NetBSD: atalk.c,v 1.9 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -54,6 +54,7 @@
#include <netatalk/ddp_var.h>
#include <nlist.h>
+#include <kvm.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/fast_ipsec.c
--- a/usr.bin/netstat/fast_ipsec.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/fast_ipsec.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fast_ipsec.c,v 1.6 2004/07/17 16:36:39 atatat Exp $ */
+/* $NetBSD: fast_ipsec.c,v 1.7 2005/08/04 19:41:28 rpaulo Exp $ */
/* $FreeBSD: src/tools/tools/crypto/ipsecstats.c,v 1.1.4.1 2003/06/03 00:13:13 sam Exp $ */
/*-
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifndef lint
#ifdef __NetBSD__
-__RCSID("$NetBSD: fast_ipsec.c,v 1.6 2004/07/17 16:36:39 atatat Exp $");
+__RCSID("$NetBSD: fast_ipsec.c,v 1.7 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint*/
@@ -56,6 +56,7 @@
#include <machine/int_fmtio.h>
+#include <kvm.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/if.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.58 2004/11/16 05:59:32 itojun Exp $ */
+/* $NetBSD: if.c,v 1.59 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-__RCSID("$NetBSD: if.c,v 1.58 2004/11/16 05:59:32 itojun Exp $");
+__RCSID("$NetBSD: if.c,v 1.59 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -54,6 +54,7 @@
#include <netiso/iso_var.h>
#include <arpa/inet.h>
+#include <kvm.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/inet.c
--- a/usr.bin/netstat/inet.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/inet.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet.c,v 1.63 2004/09/06 14:51:32 martin Exp $ */
+/* $NetBSD: inet.c,v 1.64 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet.c,v 1.63 2004/09/06 14:51:32 martin Exp $");
+__RCSID("$NetBSD: inet.c,v 1.64 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -74,6 +74,7 @@
#include <netinet/udp_var.h>
#include <arpa/inet.h>
+#include <kvm.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/inet6.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet6.c,v 1.33 2005/02/13 03:15:18 atatat Exp $ */
+/* $NetBSD: inet6.c,v 1.34 2005/08/04 19:41:28 rpaulo Exp $ */
/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */
/*
@@ -64,7 +64,7 @@
#if 0
static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet6.c,v 1.33 2005/02/13 03:15:18 atatat Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.34 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -121,6 +121,7 @@
#endif
#include <netdb.h>
+#include <kvm.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/ipsec.c
--- a/usr.bin/netstat/ipsec.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/ipsec.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.10 2003/08/07 11:15:19 agc Exp $ */
+/* $NetBSD: ipsec.c,v 1.11 2005/08/04 19:41:28 rpaulo Exp $ */
/* $KAME: ipsec.c,v 1.33 2003/07/25 09:54:32 itojun Exp $ */
/*
@@ -65,7 +65,7 @@
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
#ifdef __NetBSD__
-__RCSID("$NetBSD: ipsec.c,v 1.10 2003/08/07 11:15:19 agc Exp $");
+__RCSID("$NetBSD: ipsec.c,v 1.11 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif
#endif /* not lint */
@@ -81,6 +81,7 @@
#include <netkey/keysock.h>
#endif
+#include <kvm.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/iso.c
--- a/usr.bin/netstat/iso.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/iso.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iso.c,v 1.23 2003/08/07 11:15:20 agc Exp $ */
+/* $NetBSD: iso.c,v 1.24 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)iso.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: iso.c,v 1.23 2003/08/07 11:15:20 agc Exp $");
+__RCSID("$NetBSD: iso.c,v 1.24 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -101,6 +101,7 @@
#include <netiso/cons_pcb.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <kvm.h>
#include <string.h>
#include <stddef.h>
#include <stdio.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/mbuf.c
--- a/usr.bin/netstat/mbuf.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/mbuf.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbuf.c,v 1.23 2004/04/09 18:48:05 atatat Exp $ */
+/* $NetBSD: mbuf.c,v 1.24 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)mbuf.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: mbuf.c,v 1.23 2004/04/09 18:48:05 atatat Exp $");
+__RCSID("$NetBSD: mbuf.c,v 1.24 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -48,6 +48,7 @@
#include <sys/sysctl.h>
#include <stdio.h>
+#include <kvm.h>
#include <stdlib.h>
#include <limits.h>
#include <errno.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/mroute.c
--- a/usr.bin/netstat/mroute.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/mroute.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mroute.c,v 1.19 2004/09/06 14:51:32 martin Exp $ */
+/* $NetBSD: mroute.c,v 1.20 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -76,7 +76,7 @@
#if 0
static char sccsid[] = "from: @(#)mroute.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: mroute.c,v 1.19 2004/09/06 14:51:32 martin Exp $");
+__RCSID("$NetBSD: mroute.c,v 1.20 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -101,6 +101,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <kvm.h>
#include "netstat.h"
static char *pktscale __P((u_long));
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/mroute6.c
--- a/usr.bin/netstat/mroute6.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/mroute6.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mroute6.c,v 1.11 2003/08/07 11:15:21 agc Exp $ */
+/* $NetBSD: mroute6.c,v 1.12 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -115,6 +115,7 @@
#undef _KERNEL
#include <stdio.h>
+#include <kvm.h>
#include "netstat.h"
#ifdef INET6
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/ns.c
--- a/usr.bin/netstat/ns.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/ns.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ns.c,v 1.14 2003/08/07 11:15:21 agc Exp $ */
+/* $NetBSD: ns.c,v 1.15 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)ns.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: ns.c,v 1.14 2003/08/07 11:15:21 agc Exp $");
+__RCSID("$NetBSD: ns.c,v 1.15 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -62,6 +62,7 @@
#include <netns/spp_debug.h>
#include <nlist.h>
+#include <kvm.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
diff -r 65e0e044cfc5 -r 1a3892c4eb6a usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c Thu Aug 04 19:40:00 2005 +0000
+++ b/usr.bin/netstat/route.c Thu Aug 04 19:41:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route.c,v 1.65 2004/11/16 06:04:13 itojun Exp $ */
+/* $NetBSD: route.c,v 1.66 2005/08/04 19:41:28 rpaulo Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-__RCSID("$NetBSD: route.c,v 1.65 2004/11/16 06:04:13 itojun Exp $");
+__RCSID("$NetBSD: route.c,v 1.66 2005/08/04 19:41:28 rpaulo Exp $");
#endif
#endif /* not lint */
@@ -61,6 +61,7 @@
#include <arpa/inet.h>
#include <err.h>
+#include <kvm.h>
Home |
Main Index |
Thread Index |
Old Index