version 1.9, 2000/07/12 16:16:57 |
version 1.10, 2000/08/13 19:01:38 |
|
|
printf("\t\t%s: %qu\n", ip6nh[i], |
printf("\t\t%s: %qu\n", ip6nh[i], |
ip6stat.ip6s_nxthist[i]); |
ip6stat.ip6s_nxthist[i]); |
} |
} |
printf("\tMbuf statics:\n"); |
printf("\tMbuf statistics:\n"); |
printf("\t\t%qu one mbuf\n", ip6stat.ip6s_m1); |
p(ip6s_m1, "\t\t%qu one mbuf%s\n"); |
for (first = 1, i = 0; i < 32; i++) { |
for (first = 1, i = 0; i < 32; i++) { |
char ifbuf[IFNAMSIZ]; |
char ifbuf[IFNAMSIZ]; |
if (ip6stat.ip6s_m2m[i] != 0) { |
if (ip6stat.ip6s_m2m[i] != 0) { |
|
|
ip6stat.ip6s_m2m[i]); |
ip6stat.ip6s_m2m[i]); |
} |
} |
} |
} |
printf("\t\t%qu one ext mbuf\n", ip6stat.ip6s_mext1); |
p(ip6s_mext1, "\t\t%qu one ext mbuf%s\n"); |
printf("\t\t%qu two or more ext mbuf\n", ip6stat.ip6s_mext2m); |
p(ip6s_mext2m, "\t\t%qu two or more ext mbuf%s\n"); |
p(ip6s_exthdrtoolong, "\t%qu packet%s whose headers are not continuous\n"); |
p(ip6s_exthdrtoolong, "\t%qu packet%s whose headers are not continuous\n"); |
p(ip6s_nogif, "\t%qu tunneling packet%s that can't find gif\n"); |
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"); |
p(ip6s_toomanyhdr, "\t%qu packet%s discarded due to too may headers\n"); |