diff options
author | 2000-07-12 16:16:57 +0000 | |
---|---|---|
committer | 2000-07-12 16:16:57 +0000 | |
commit | c57c876ed125956e464225c8a99fc895aacd6737 (patch) | |
tree | eab4a365f163b92831be63fd69e886c0381430e5 | |
parent | Fix a rather nasty latency problem that occurs with single tcp sessions (diff) | |
download | wireguard-openbsd-c57c876ed125956e464225c8a99fc895aacd6737.tar.xz wireguard-openbsd-c57c876ed125956e464225c8a99fc895aacd6737.zip |
remove m_pulldown statistics, it is purely experimental and belongs to
kame system only (not for *bsd-merged systems).
-rw-r--r-- | usr.bin/netstat/inet6.c | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index 6164641fa59..c64b20326b3 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet6.c,v 1.8 2000/07/06 10:16:56 itojun Exp $ */ +/* $OpenBSD: inet6.c,v 1.9 2000/07/12 16:16:57 itojun Exp $ */ /* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */ /* * Copyright (c) 1983, 1988, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94"; #else -/*__RCSID("$OpenBSD: inet6.c,v 1.8 2000/07/06 10:16:56 itojun Exp $");*/ +/*__RCSID("$OpenBSD: inet6.c,v 1.9 2000/07/12 16:16:57 itojun Exp $");*/ /*__RCSID("KAME Id: inet6.c,v 1.10 2000/02/09 10:49:31 itojun Exp");*/ #endif #endif /* not lint */ @@ -415,38 +415,6 @@ ip6_stats(off, name) p(ip6s_nogif, "\t%qu tunneling packet%s that can't find gif\n"); p(ip6s_toomanyhdr, "\t%qu packet%s discarded due to too may headers\n"); - if (ip6stat.ip6s_exthdrget || ip6stat.ip6s_exthdrget0) { - p(ip6s_exthdrget, "\t%qu use%s of IP6_EXTHDR_GET\n"); - p(ip6s_exthdrget0, "\t%qu use%s of IP6_EXTHDR_GET0\n"); - p(ip6s_pulldown, "\t%qu call%s to m_pulldown\n"); - p(ip6s_pulldown_alloc, - "\t%qu mbuf allocation%s in m_pulldown\n"); - if (ip6stat.ip6s_pulldown_copy != 1) { - p1(ip6s_pulldown_copy, - "\t%qu mbuf copies in m_pulldown\n"); - } else { - p1(ip6s_pulldown_copy, - "\t%qu mbuf copy in m_pulldown\n"); - } - p(ip6s_pullup, "\t%qu call%s to m_pullup\n"); - p(ip6s_pullup_alloc, "\t%qu mbuf allocation%s in m_pullup\n"); - if (ip6stat.ip6s_pullup_copy != 1) { - p1(ip6s_pullup_copy, "\t%qu mbuf copies in m_pullup\n"); - } else { - p1(ip6s_pullup_copy, "\t%qu mbuf copy in m_pullup\n"); - } - p(ip6s_pullup_fail, "\t%qu failure%s in m_pullup\n"); - p(ip6s_pullup2, "\t%qu call%s to m_pullup2\n"); - p(ip6s_pullup2_alloc, "\t%qu mbuf allocation%s in m_pullup2\n"); - if (ip6stat.ip6s_pullup2_copy != 1) { - p1(ip6s_pullup2_copy, - "\t%qu mbuf copies in m_pullup2\n"); - } else { - p1(ip6s_pullup2_copy, "\t%qu mbuf copy in m_pullup2\n"); - } - p(ip6s_pullup2_fail, "\t%qu failure%s in m_pullup2\n"); - } - /* for debugging source address selection */ #define PRINT_SCOPESTAT(s,i) do {\ switch(i) { /* XXX hardcoding in each case */\ |