Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netstat print # of packets filtered by icmp6 rate li...



details:   https://anonhg.NetBSD.org/src/rev/8df2cb795081
branches:  trunk
changeset: 487969:8df2cb795081
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Jun 16 02:08:40 2000 +0000

description:
print # of packets filtered by icmp6 rate limitation

diffstat:

 usr.bin/netstat/inet6.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r d4c5c488061a -r 8df2cb795081 usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c   Fri Jun 16 01:56:36 2000 +0000
+++ b/usr.bin/netstat/inet6.c   Fri Jun 16 02:08:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet6.c,v 1.8 2000/05/17 11:54:48 itojun Exp $ */
+/*     $NetBSD: inet6.c,v 1.9 2000/06/16 02:08:40 itojun Exp $ */
 /*     BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp   */
 
 /*
@@ -68,7 +68,7 @@
 #if 0
 static char sccsid[] = "@(#)inet.c     8.4 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: inet6.c,v 1.8 2000/05/17 11:54:48 itojun Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.9 2000/06/16 02:08:40 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -442,7 +442,7 @@
        "#86",
        "#87",
        "#88",
-       "#89",  
+       "OSPF", 
        "#80",
        "#91",
        "#92",
@@ -1137,6 +1137,8 @@
        p(icp6s_error, "\t%llu call%s to icmp6_error\n");
        p(icp6s_canterror,
            "\t%llu error%s not generated because old message was icmp6 or so\n");
+       p(icp6s_toofreq,
+           "\t%llu error%s not generated because rate limitation\n");
        for (first = 1, i = 0; i < 256; i++)
                if (icmp6stat.icp6s_outhist[i] != 0) {
                        if (first) {



Home | Main Index | Thread Index | Old Index