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

/freebsd-10.0-release/usr.bin/systat/
H A Dicmp6.c58 static struct icmp6stat icmp6stat, initstat, oldstat; variable in typeref:struct:icmp6stat
132 domode(struct icmp6stat *ret)
134 const struct icmp6stat *sub;
149 *ret = icmp6stat;
152 #define DO(stat) ret->stat = (icmp6stat.stat - sub->stat) / divisor
173 struct icmp6stat stats;
228 error("sysctl getting icmp6stat size failed");
231 if (len > sizeof icmp6stat) {
232 error("icmp6stat structur
[all...]
/freebsd-10.0-release/usr.bin/netstat/
H A Dinet6.c845 struct icmp6stat icmp6stat, zerostat; local
849 len = sizeof icmp6stat;
851 memset(&icmp6stat, 0, len);
854 if (sysctlbyname("net.inet6.icmp6.stats", &icmp6stat, &len,
861 kread_counters(off, &icmp6stat, len);
865 #define p(f, m) if (icmp6stat.f || sflag <= 1) \
866 printf(m, (uintmax_t)icmp6stat.f, plural(icmp6stat.f))
867 #define p_5(f, m) if (icmp6stat
[all...]
/freebsd-10.0-release/sys/netinet/
H A Dicmp6.h573 struct icmp6stat { struct
622 VNET_PCPUSTAT_DECLARE(struct icmp6stat, icmp6stat);
628 VNET_PCPUSTAT_ADD(struct icmp6stat, icmp6stat, name, (val))
636 kmod_icmp6stat_inc(offsetof(struct icmp6stat, name) / sizeof(uint64_t))
/freebsd-10.0-release/sys/netinet6/
H A Din6_proto.c594 struct icmp6stat, icmp6stat,
595 "ICMPv6 statistics (struct icmp6stat, netinet/icmp6.h)");
H A Dicmp6.c117 VNET_PCPUSTAT_DEFINE(struct icmp6stat, icmp6stat);
118 VNET_PCPUSTAT_SYSINIT(icmp6stat); variable
121 VNET_PCPUSTAT_SYSUNINIT(icmp6stat); variable
153 * Kernel module interface for updating icmp6stat. The argument is an index
154 * into icmp6stat treated as an array of u_quad_t. While this encodes the
155 * general layout of icmp6stat into the caller, it doesn't encode its
163 counter_u64_add(VNET(icmp6stat)[statnum], 1);

Completed in 148 milliseconds