Searched refs:icmpstat (Results 1 – 5 of 5) sorted by relevance
1 The following is a demonstration of the icmpstat.d script,6 # icmpstat.d27 The icmpstat.d is a simple demonstration of tracing ICMP activity. It may
690 uint64_t icmpstat[ICMP_NSTATS]; in icmp_stats() local694 size_t size = sizeof(icmpstat); in icmp_stats()696 if (prog_sysctlbyname("net.inet.icmp.stats", icmpstat, &size, in icmp_stats()706 #define p(f, m) if (icmpstat[f] || sflag <= 1) \ in icmp_stats()707 printf(m, icmpstat[f], plural(icmpstat[f])) in icmp_stats()713 if (icmpstat[ICMP_STAT_OUTHIST + i] != 0) { in icmp_stats()719 icmpstat[ICMP_STAT_OUTHIST + i]); in icmp_stats()730 if (icmpstat[ICMP_STAT_INHIST + i] != 0) { in icmp_stats()736 icmpstat[ICMP_STAT_INHIST + i]); in icmp_stats()
93 icmpstat.d print ICMP statistics