diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index e441e3b78cc..c078b33053d 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 */\