Lines Matching refs:icmpstat
1193 struct icmpstat icmpstat; in icmp_stats() local
1197 if (fetch_stats("net.inet.icmp.stats", off, &icmpstat, in icmp_stats()
1198 sizeof(icmpstat), kread_counters) != 0) in icmp_stats()
1204 #define p(f, m) if (icmpstat.f || sflag <= 1) \ in icmp_stats()
1205 xo_emit(m, icmpstat.f, plural(icmpstat.f)) in icmp_stats()
1206 #define p1a(f, m) if (icmpstat.f || sflag <= 1) \ in icmp_stats()
1207 xo_emit(m, icmpstat.f) in icmp_stats()
1208 #define p2(f, m) if (icmpstat.f || sflag <= 1) \ in icmp_stats()
1209 xo_emit(m, icmpstat.f, plurales(icmpstat.f)) in icmp_stats()
1217 if (icmpstat.icps_outhist[i] != 0) { in icmp_stats()
1226 icmpnames[i], icmpstat.icps_outhist[i]); in icmp_stats()
1230 i, icmpstat.icps_outhist[i]); in icmp_stats()
1251 if (icmpstat.icps_inhist[i] != 0) { in icmp_stats()
1261 icmpstat.icps_inhist[i]); in icmp_stats()
1265 i, icmpstat.icps_inhist[i]); in icmp_stats()