Searched refs:icmp6stat (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/usr.bin/systat/ |
| H A D | icmp6.c | 58 static struct icmp6stat icmp6stat, initstat, oldstat; variable 132 domode(struct icmp6stat *ret) in domode() 134 const struct icmp6stat *sub; in domode() 149 *ret = icmp6stat; in domode() 152 #define DO(stat) ret->stat = (icmp6stat.stat - sub->stat) / divisor in domode() 173 struct icmp6stat stats; in showicmp6() 231 if (len > sizeof icmp6stat) { in initicmp6() 267 oldstat = icmp6stat; in fetchicmp6() 272 len = sizeof icmp6stat; in fetchicmp6() 274 if (sysctl(name, 4, &icmp6stat, &len, 0, 0) < 0) in fetchicmp6()
|
| /freebsd-14.2/usr.bin/netstat/ |
| H A D | inet6.c | 948 struct icmp6stat icmp6stat; in icmp6_stats() local 952 sizeof(icmp6stat), kread_counters) != 0) in icmp6_stats() 958 #define p(f, m) if (icmp6stat.f || sflag <= 1) \ in icmp6_stats() 959 xo_emit(m, (uintmax_t)icmp6stat.f, plural(icmp6stat.f)) in icmp6_stats() 961 xo_emit(m, (uintmax_t)icmp6stat.f) in icmp6_stats() 969 #define NELEM (int)(sizeof(icmp6stat.icp6s_outhist)/sizeof(icmp6stat.icp6s_outhist[0])) in icmp6_stats() 971 if (icmp6stat.icp6s_outhist[i] != 0) { in icmp6_stats() 980 (uintmax_t)icmp6stat.icp6s_outhist[i]); in icmp6_stats() 997 #define NELEM (int)(sizeof(icmp6stat.icp6s_inhist)/sizeof(icmp6stat.icp6s_inhist[0])) in icmp6_stats() 999 if (icmp6stat.icp6s_inhist[i] != 0) { in icmp6_stats() [all …]
|
| /freebsd-14.2/sys/netinet/ |
| H A D | icmp6.h | 593 struct icmp6stat { struct 653 VNET_PCPUSTAT_DECLARE(struct icmp6stat, icmp6stat); argument 659 VNET_PCPUSTAT_ADD(struct icmp6stat, icmp6stat, name, (val)) 667 kmod_icmp6stat_inc(offsetof(struct icmp6stat, name) / sizeof(uint64_t))
|
| /freebsd-14.2/sys/netinet6/ |
| H A D | icmp6.c | 117 VNET_PCPUSTAT_DEFINE(struct icmp6stat, icmp6stat); 118 VNET_PCPUSTAT_SYSINIT(icmp6stat); 120 struct icmp6stat, icmp6stat, 124 VNET_PCPUSTAT_SYSUNINIT(icmp6stat); 173 counter_u64_add(VNET(icmp6stat)[statnum], 1); in kmod_icmp6stat_inc()
|