remove m_pulldown related statistics, it is not for production system

(it belongs to kame experiment).
This commit is contained in:
Jun-ichiro itojun Hagino 2000-07-12 16:13:02 +00:00
parent d08c353b39
commit a1eca46648

View file

@ -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 */\