Searched refs:arpstat (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.1-release/tools/regression/netinet/arphold/
H A Darphold.c69 struct arpstat arpstat; local
70 size_t len = sizeof(arpstat);
99 if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len,
105 dropped = arpstat.dropped;
124 if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len,
131 printf("dropped after %ld\n", arpstat.dropped);
134 if (arpstat.dropped != dropped) {
136 "before %ld after %ld\n", dropped, arpstat.dropped);
140 dropped = arpstat
[all...]
/freebsd-10.1-release/sys/net/
H A Dif_arp.h114 struct arpstat { struct
134 VNET_PCPUSTAT_DECLARE(struct arpstat, arpstat);
140 VNET_PCPUSTAT_ADD(struct arpstat, arpstat, name, (val))
/freebsd-10.1-release/usr.bin/netstat/
H A Dinet.c925 struct arpstat arpstat, zerostat; local
926 size_t len = sizeof(arpstat);
931 if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len,
937 kread_counters(off, &arpstat, len);
941 #define p(f, m) if (arpstat.f || sflag <= 1) \
942 printf("\t%ju " m, (uintmax_t)arpstat.f, plural(arpstat.f))
943 #define p2(f, m) if (arpstat.f || sflag <= 1) \
944 printf("\t%ju " m, (uintmax_t)arpstat
[all...]
/freebsd-10.1-release/sys/netinet/
H A Dif_ether.c92 VNET_PCPUSTAT_DEFINE(struct arpstat, arpstat); /* ARP statistics, see if_arp.h */
93 VNET_PCPUSTAT_SYSINIT(arpstat); variable
96 VNET_PCPUSTAT_SYSUNINIT(arpstat); variable
122 SYSCTL_VNET_PCPUSTAT(_net_link_ether_arp, OID_AUTO, stats, struct arpstat,
123 arpstat, "ARP statistics (struct arpstat, net/if_arp.h)");

Completed in 102 milliseconds