fetch_stats
if (fetch_stats("net.pfsync.stats", off, &pfsyncstat,
if (fetch_stats("net.pflow.stats", off, &pflowstat,
if (fetch_stats("net.inet.ip.stats", off, &ipstat,
if (fetch_stats("net.link.ether.arp.stats", off, &arpstat,
if (fetch_stats("net.inet.icmp.stats", off, &icmpstat,
if (fetch_stats("net.inet.igmp.stats", 0, &igmpstat,
error = fetch_stats("net.inet.igmp.stats", 0, &igmpstat,
if (fetch_stats("net.inet.pim.stats", off, &pimstat,
if (fetch_stats("net.inet.divert.stats", off, &divstat,
if (fetch_stats("net.inet.tcp.stats", off, &tcpstat,
if (fetch_stats("net.inet.udp.stats", off, &udpstat,
if (fetch_stats("net.inet.carp.stats", off, &carpstat,
if (fetch_stats("net.inet6.pim.stats", off, &pim6stat,
if (fetch_stats("net.inet6.ip6.rip6stats", off, &rip6stat,
if (fetch_stats("net.inet6.ip6.stats", off, &ip6stat,
if (fetch_stats("net.inet6.icmp6.stats", off, &icmp6stat,
if (fetch_stats("net.inet6.ipsec6.ipsecstats", off,&ipsecstat,
if (fetch_stats("net.inet.ipsec.ipsecstats", off, &ipsecstat,
if (fetch_stats("net.inet.ah.stats", off, &ahstat,
if (fetch_stats("net.inet.esp.stats", off, &espstat,
if (fetch_stats("net.inet.ipcomp.stats", off, &ipcompstat,
if (fetch_stats("kern.ipc.sfstat", mbaddr, &sfstat, sizeof(sfstat),
if (fetch_stats("net.inet.ip.mrtstat", mstaddr, &mrtstat,
if (fetch_stats("net.inet6.ip6.mrt6stat", 0, &mrtstat,
int fetch_stats(const char *, u_long, void *, size_t, kreadfn_t);
if (fetch_stats("net.route.stats", nl[N_RTSTAT].n_value, &rtstat,
if (fetch_stats("net.inet.sctp.stats", off, &sctpstat,