Searched refs:icmp6stat (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/usr.bin/systat/
H A Dicmp6.c59 static struct icmp6stat icmp6stat, initstat, oldstat; variable in typeref:struct:icmp6stat
133 domode(struct icmp6stat *ret)
135 const struct icmp6stat *sub;
150 *ret = icmp6stat;
153 #define DO(stat) ret->stat = (icmp6stat.stat - sub->stat) / divisor
174 struct icmp6stat stats;
229 error("sysctl getting icmp6stat size failed");
232 if (len > sizeof icmp6stat) {
233 error("icmp6stat structur
[all...]
/freebsd-11-stable/usr.bin/netstat/
H A Dinet6.c946 struct icmp6stat icmp6stat; local
949 if (fetch_stats("net.inet6.icmp6.stats", off, &icmp6stat,
950 sizeof(icmp6stat), kread_counters) != 0)
956 #define p(f, m) if (icmp6stat.f || sflag <= 1) \
957 xo_emit(m, (uintmax_t)icmp6stat.f, plural(icmp6stat.f))
958 #define p_5(f, m) if (icmp6stat.f || sflag <= 1) \
959 xo_emit(m, (uintmax_t)icmp6stat.f)
967 #define NELEM (int)(sizeof(icmp6stat
[all...]
/freebsd-11-stable/sys/netinet/
H A Dicmp6.h588 struct icmp6stat { struct
637 VNET_PCPUSTAT_DECLARE(struct icmp6stat, icmp6stat);
643 VNET_PCPUSTAT_ADD(struct icmp6stat, icmp6stat, name, (val))
651 kmod_icmp6stat_inc(offsetof(struct icmp6stat, name) / sizeof(uint64_t))
/freebsd-11-stable/sys/netinet6/
H A Din6_proto.c604 struct icmp6stat, icmp6stat,
605 "ICMPv6 statistics (struct icmp6stat, netinet/icmp6.h)");
H A Dicmp6.c115 VNET_PCPUSTAT_DEFINE(struct icmp6stat, icmp6stat);
116 VNET_PCPUSTAT_SYSINIT(icmp6stat); variable
119 VNET_PCPUSTAT_SYSUNINIT(icmp6stat); variable
151 * Kernel module interface for updating icmp6stat. The argument is an index
152 * into icmp6stat treated as an array of u_quad_t. While this encodes the
153 * general layout of icmp6stat into the caller, it doesn't encode its
161 counter_u64_add(VNET(icmp6stat)[statnum], 1);

Completed in 157 milliseconds