Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.bin/netstat pullup 1.10 -> 1.11 (approved by releng...



details:   https://anonhg.NetBSD.org/src/rev/66baa1347cb3
branches:  netbsd-1-5
changeset: 488492:66baa1347cb3
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jul 13 14:08:45 2000 +0000

description:
pullup 1.10 -> 1.11 (approved by releng-1-5)
do not print m_pulldown statistics.  it is too experimental and
belongs to kame tree only (not for *bsd tree).

diffstat:

 usr.bin/netstat/inet6.c |  39 ++-------------------------------------
 1 files changed, 2 insertions(+), 37 deletions(-)

diffs (60 lines):

diff -r 116b7848641b -r 66baa1347cb3 usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c   Thu Jul 13 05:53:23 2000 +0000
+++ b/usr.bin/netstat/inet6.c   Thu Jul 13 14:08:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet6.c,v 1.9 2000/06/16 02:08:40 itojun Exp $ */
+/*     $NetBSD: inet6.c,v 1.9.2.1 2000/07/13 14:08:45 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.9 2000/06/16 02:08:40 itojun Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.9.2.1 2000/07/13 14:08:45 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -691,41 +691,6 @@
        p(ip6s_toomanyhdr,
            "\t%llu packet%s discarded due to too many headers\n");
 
-       if (ip6stat.ip6s_exthdrget || ip6stat.ip6s_exthdrget0) {
-               p(ip6s_exthdrget, "\t%llu use%s of IP6_EXTHDR_GET\n");
-               p(ip6s_exthdrget0, "\t%llu use%s of IP6_EXTHDR_GET0\n");
-               p(ip6s_pulldown, "\t%llu call%s to m_pulldown\n");
-               p(ip6s_pulldown_alloc,
-                   "\t%llu mbuf allocation%s in m_pulldown\n");
-               if (ip6stat.ip6s_pulldown_copy != 1) {
-                       p1(ip6s_pulldown_copy,
-                           "\t%llu mbuf copies in m_pulldown\n");
-               } else {
-                       p1(ip6s_pulldown_copy,
-                           "\t%llu mbuf copy in m_pulldown\n");
-               }
-               p(ip6s_pullup, "\t%llu call%s to m_pullup\n");
-               p(ip6s_pullup_alloc, "\t%llu mbuf allocation%s in m_pullup\n");
-               if (ip6stat.ip6s_pullup_copy != 1) {
-                       p1(ip6s_pullup_copy,
-                           "\t%llu mbuf copies in m_pullup\n");
-               } else {
-                       p1(ip6s_pullup_copy, "\t%llu mbuf copy in m_pullup\n");
-               }
-               p(ip6s_pullup_fail, "\t%llu failure%s in m_pullup\n");
-               p(ip6s_pullup2, "\t%llu call%s to m_pullup2\n");
-               p(ip6s_pullup2_alloc,
-                   "\t%llu mbuf allocation%s in m_pullup2\n");
-               if (ip6stat.ip6s_pullup2_copy != 1) {
-                       p1(ip6s_pullup2_copy,
-                           "\t%llu mbuf copies in m_pullup2\n");
-               } else {
-                       p1(ip6s_pullup2_copy,
-                           "\t%llu mbuf copy in m_pullup2\n");
-               }
-               p(ip6s_pullup2_fail, "\t%llu failure%s in m_pullup2\n");
-       }
-
        /* for debugging source address selection */
 #define PRINT_SCOPESTAT(s,i) do {\
                switch(i) { /* XXX hardcoding in each case */\



Home | Main Index | Thread Index | Old Index