Lines Matching refs:arpstat
933 struct arpstat arpstat, zerostat;
934 size_t len = sizeof(arpstat);
939 if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len,
945 kread_counters(off, &arpstat, len);
949 #define p(f, m) if (arpstat.f || sflag <= 1) \
950 printf("\t%ju " m, (uintmax_t)arpstat.f, plural(arpstat.f))
951 #define p2(f, m) if (arpstat.f || sflag <= 1) \
952 printf("\t%ju " m, (uintmax_t)arpstat.f, pluralies(arpstat.f))