Symbol: arpstat
sys/net/if_arp.h
119
VNET_PCPUSTAT_DECLARE(struct arpstat, arpstat);
sys/net/if_arp.h
125
VNET_PCPUSTAT_ADD(struct arpstat, arpstat, name, (val))
sys/netinet/if_ether.c
106
VNET_PCPUSTAT_DEFINE(struct arpstat, arpstat); /* ARP statistics, see if_arp.h */
sys/netinet/if_ether.c
107
VNET_PCPUSTAT_SYSINIT(arpstat);
sys/netinet/if_ether.c
110
VNET_PCPUSTAT_SYSUNINIT(arpstat);
sys/netinet/if_ether.c
134
SYSCTL_VNET_PCPUSTAT(_net_link_ether_arp, OID_AUTO, stats, struct arpstat,
sys/netinet/if_ether.c
135
arpstat, "ARP statistics (struct arpstat, net/if_arp.h)");
tools/regression/netinet/arphold/arphold.c
103
dropped = arpstat.dropped;
tools/regression/netinet/arphold/arphold.c
122
if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len,
tools/regression/netinet/arphold/arphold.c
129
printf("dropped after %ld\n", arpstat.dropped);
tools/regression/netinet/arphold/arphold.c
132
if (arpstat.dropped != dropped) {
tools/regression/netinet/arphold/arphold.c
134
"before %ld after %ld\n", dropped, arpstat.dropped);
tools/regression/netinet/arphold/arphold.c
138
dropped = arpstat.dropped;
tools/regression/netinet/arphold/arphold.c
147
if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len,
tools/regression/netinet/arphold/arphold.c
153
if (arpstat.dropped != (dropped + 1)) {
tools/regression/netinet/arphold/arphold.c
155
" %ld after %ld\n", dropped, arpstat.dropped);
tools/regression/netinet/arphold/arphold.c
67
struct arpstat arpstat;
tools/regression/netinet/arphold/arphold.c
68
size_t len = sizeof(arpstat);
tools/regression/netinet/arphold/arphold.c
97
if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len,
usr.bin/netstat/inet.c
1132
struct arpstat arpstat;
usr.bin/netstat/inet.c
1134
if (fetch_stats("net.link.ether.arp.stats", off, &arpstat,
usr.bin/netstat/inet.c
1135
sizeof(arpstat), kread_counters) != 0)
usr.bin/netstat/inet.c
1141
#define p(f, m) if (arpstat.f || sflag <= 1) \
usr.bin/netstat/inet.c
1142
xo_emit("\t" m, (uintmax_t)arpstat.f, plural(arpstat.f))
usr.bin/netstat/inet.c
1143
#define p2(f, m) if (arpstat.f || sflag <= 1) \
usr.bin/netstat/inet.c
1144
xo_emit("\t" m, (uintmax_t)arpstat.f, pluralies(arpstat.f))