Searched refs:icmp6stat (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.3-release/usr.bin/systat/ |
H A D | icmp6.c | 58 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.3-release/usr.bin/netstat/ |
H A D | inet6.c | 833 struct icmp6stat icmp6stat; local 836 if (fetch_stats("net.inet6.icmp6.stats", off, &icmp6stat, 837 sizeof(icmp6stat), kread_counters) != 0) 842 #define p(f, m) if (icmp6stat.f || sflag <= 1) \ 843 printf(m, (uintmax_t)icmp6stat.f, plural(icmp6stat.f)) 844 #define p_5(f, m) if (icmp6stat.f || sflag <= 1) \ 845 printf(m, (uintmax_t)icmp6stat.f) 852 #define NELEM (int)(sizeof(icmp6stat [all...] |
/freebsd-10.3-release/sys/netinet/ |
H A D | icmp6.h | 585 struct icmp6stat { struct 634 VNET_PCPUSTAT_DECLARE(struct icmp6stat, icmp6stat); 640 VNET_PCPUSTAT_ADD(struct icmp6stat, icmp6stat, name, (val)) 648 kmod_icmp6stat_inc(offsetof(struct icmp6stat, name) / sizeof(uint64_t))
|
/freebsd-10.3-release/sys/netinet6/ |
H A D | in6_proto.c | 600 struct icmp6stat, icmp6stat, 601 "ICMPv6 statistics (struct icmp6stat, netinet/icmp6.h)");
|
H A D | icmp6.c | 111 VNET_PCPUSTAT_DEFINE(struct icmp6stat, icmp6stat); 112 VNET_PCPUSTAT_SYSINIT(icmp6stat); variable 115 VNET_PCPUSTAT_SYSUNINIT(icmp6stat); variable 147 * Kernel module interface for updating icmp6stat. The argument is an index 148 * into icmp6stat treated as an array of u_quad_t. While this encodes the 149 * general layout of icmp6stat into the caller, it doesn't encode its 157 counter_u64_add(VNET(icmp6stat)[statnum], 1);
|
Completed in 123 milliseconds