Source-Changes-HG archive

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

[src/trunk]: src/sbin/sysctl say ipsec stats are viewable with netstat.



details:   https://anonhg.NetBSD.org/src/rev/1292d4913539
branches:  trunk
changeset: 823132:1292d4913539
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 13 14:46:32 2017 +0000

description:
say ipsec stats are viewable with netstat.

diffstat:

 sbin/sysctl/sysctl.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 9266986db00e -r 1292d4913539 sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c      Thu Apr 13 13:55:23 2017 +0000
+++ b/sbin/sysctl/sysctl.c      Thu Apr 13 14:46:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.c,v 1.158 2016/07/31 23:30:28 dholland Exp $ */
+/*     $NetBSD: sysctl.c,v 1.159 2017/04/13 14:46:32 christos Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
 #if 0
 static char sccsid[] = "@(#)sysctl.c   8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: sysctl.c,v 1.158 2016/07/31 23:30:28 dholland Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.159 2017/04/13 14:46:32 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -218,6 +218,9 @@
        { "/net/[^/]+/[^/]+/pcblist",           printother, NULL,
                                                "netstat' or 'sockstat" },
        { "/net/(inet|inet6)/[^/]+/stats",      printother, NULL, "netstat"},
+       { "/net/inet/(ipip|esp|ah|ipcomp)/.*_stats",
+                                               printother, NULL, "netstat"},
+       { "/net/inet/ipsec/ipsecstats",         printother, NULL, "netstat"},
        { "/net/bpf/(stats|peers)",             printother, NULL, "netstat"},
 
        { "/net/inet.*/tcp.*/deb.*",            printother, NULL, "trpt" },



Home | Main Index | Thread Index | Old Index