Searched refs:arpstat (Results 1 - 4 of 4) sorted by relevance
/freebsd-12-stable/tools/regression/netinet/arphold/ |
H A D | arphold.c | 69 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-12-stable/sys/net/ |
H A D | if_arp.h | 101 struct arpstat { struct 121 VNET_PCPUSTAT_DECLARE(struct arpstat, arpstat); 127 VNET_PCPUSTAT_ADD(struct arpstat, arpstat, name, (val))
|
/freebsd-12-stable/usr.bin/netstat/ |
H A D | inet.c | 1091 struct arpstat arpstat; local 1093 if (fetch_stats("net.link.ether.arp.stats", off, &arpstat, 1094 sizeof(arpstat), kread_counters) != 0) 1100 #define p(f, m) if (arpstat.f || sflag <= 1) \ 1101 xo_emit("\t" m, (uintmax_t)arpstat.f, plural(arpstat.f)) 1102 #define p2(f, m) if (arpstat.f || sflag <= 1) \ 1103 xo_emit("\t" m, (uintmax_t)arpstat.f, pluralies(arpstat [all...] |
/freebsd-12-stable/sys/netinet/ |
H A D | if_ether.c | 104 VNET_PCPUSTAT_DEFINE(struct arpstat, arpstat); /* ARP statistics, see if_arp.h */ 105 VNET_PCPUSTAT_SYSINIT(arpstat); variable 108 VNET_PCPUSTAT_SYSUNINIT(arpstat); variable 132 SYSCTL_VNET_PCPUSTAT(_net_link_ether_arp, OID_AUTO, stats, struct arpstat, 133 arpstat, "ARP statistics (struct arpstat, net/if_arp.h)");
|
Completed in 113 milliseconds