Lines Matching refs:icmp6stat
948 struct icmp6stat icmp6stat; in icmp6_stats() local
951 if (fetch_stats("net.inet6.icmp6.stats", off, &icmp6stat, in icmp6_stats()
952 sizeof(icmp6stat), kread_counters) != 0) in icmp6_stats()
958 #define p(f, m) if (icmp6stat.f || sflag <= 1) \ in icmp6_stats()
959 xo_emit(m, (uintmax_t)icmp6stat.f, plural(icmp6stat.f)) in icmp6_stats()
960 #define p_5(f, m) if (icmp6stat.f || sflag <= 1) \ in icmp6_stats()
961 xo_emit(m, (uintmax_t)icmp6stat.f) in icmp6_stats()
969 #define NELEM (int)(sizeof(icmp6stat.icp6s_outhist)/sizeof(icmp6stat.icp6s_outhist[0])) in icmp6_stats()
971 if (icmp6stat.icp6s_outhist[i] != 0) { in icmp6_stats()
980 (uintmax_t)icmp6stat.icp6s_outhist[i]); in icmp6_stats()
997 #define NELEM (int)(sizeof(icmp6stat.icp6s_inhist)/sizeof(icmp6stat.icp6s_inhist[0])) in icmp6_stats()
999 if (icmp6stat.icp6s_inhist[i] != 0) { in icmp6_stats()
1008 (uintmax_t)icmp6stat.icp6s_inhist[i]); in icmp6_stats()