summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoritojun <itojun@FreeBSD.org>2000-07-12 16:13:02 +0000
committeritojun <itojun@FreeBSD.org>2000-07-12 16:13:02 +0000
commitdc0f712932e2b472f5de092b0fa45e8345b133f0 (patch)
treeadaa92b9e8b94b14f8d1ece5ebc135e45ea84ee6 /usr.bin
parente16a57d0c939f32eed453aa5b0ab690e867f5e7a (diff)
downloadFreeBSD-src-dc0f712932e2b472f5de092b0fa45e8345b133f0.zip
FreeBSD-src-dc0f712932e2b472f5de092b0fa45e8345b133f0.tar.gz
remove m_pulldown related statistics, it is not for production system
(it belongs to kame experiment).
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/inet6.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index e441e3b..c078b33 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -411,38 +411,6 @@ ip6_stats(off, name)
p(ip6s_toomanyhdr,
"\t%llu packet%s discarded due to too may 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) {
- p1a(ip6s_pulldown_copy,
- "\t%llu mbuf copies in m_pulldown\n");
- } else {
- p1a(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) {
- p1a(ip6s_pullup_copy, "\t%llu mbuf copies in m_pullup\n");
- } else {
- p1a(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) {
- p1a(ip6s_pullup2_copy,
- "\t%llu mbuf copies in m_pullup2\n");
- } else {
- p1a(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 */\
OpenPOWER on IntegriCloud