Searched refs:icmpstat (Results 1 – 4 of 4) sorted by relevance
| /f-stack/tools/compat/include/netinet/ |
| H A D | icmp_var.h | 42 struct icmpstat { struct 64 VNET_PCPUSTAT_DECLARE(struct icmpstat, icmpstat); argument 70 VNET_PCPUSTAT_ADD(struct icmpstat, icmpstat, name, (val)) 78 kmod_icmpstat_inc(offsetof(struct icmpstat, name) / sizeof(uint64_t))
|
| /f-stack/freebsd/netinet/ |
| H A D | icmp_var.h | 42 struct icmpstat { struct 64 VNET_PCPUSTAT_DECLARE(struct icmpstat, icmpstat); argument 70 VNET_PCPUSTAT_ADD(struct icmpstat, icmpstat, name, (val)) 78 kmod_icmpstat_inc(offsetof(struct icmpstat, name) / sizeof(uint64_t))
|
| H A D | ip_icmp.c | 99 VNET_PCPUSTAT_DEFINE(struct icmpstat, icmpstat); 100 VNET_PCPUSTAT_SYSINIT(icmpstat); 101 SYSCTL_VNET_PCPUSTAT(_net_inet_icmp, ICMPCTL_STATS, stats, struct icmpstat, 102 icmpstat, "ICMP statistics (struct icmpstat, netinet/icmp_var.h)"); 105 VNET_PCPUSTAT_SYSUNINIT(icmpstat); 196 counter_u64_add(VNET(icmpstat)[statnum], 1); in kmod_icmpstat_inc()
|
| /f-stack/tools/netstat/ |
| H A D | inet.c | 1181 struct icmpstat icmpstat; in icmp_stats() local 1186 sizeof(icmpstat), kread_counters) != 0) in icmp_stats() 1192 #define p(f, m) if (icmpstat.f || sflag <= 1) \ in icmp_stats() 1193 xo_emit(m, icmpstat.f, plural(icmpstat.f)) in icmp_stats() 1195 xo_emit(m, icmpstat.f) in icmp_stats() 1197 xo_emit(m, icmpstat.f, plurales(icmpstat.f)) in icmp_stats() 1205 if (icmpstat.icps_outhist[i] != 0) { in icmp_stats() 1218 i, icmpstat.icps_outhist[i]); in icmp_stats() 1239 if (icmpstat.icps_inhist[i] != 0) { in icmp_stats() 1249 icmpstat.icps_inhist[i]); in icmp_stats() [all …]
|