Searched refs:icmpstat (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.2-release/sys/netinet/ |
H A D | icmp_var.h | 41 struct icmpstat { struct 63 VNET_PCPUSTAT_DECLARE(struct icmpstat, icmpstat); 69 VNET_PCPUSTAT_ADD(struct icmpstat, icmpstat, name, (val)) 77 kmod_icmpstat_inc(offsetof(struct icmpstat, name) / sizeof(uint64_t))
|
H A D | ip_icmp.c | 90 VNET_PCPUSTAT_DEFINE(struct icmpstat, icmpstat); 91 VNET_PCPUSTAT_SYSINIT(icmpstat); variable 92 SYSCTL_VNET_PCPUSTAT(_net_inet_icmp, ICMPCTL_STATS, stats, struct icmpstat, 93 icmpstat, "ICMP statistics (struct icmpstat, netinet/icmp_var.h)"); 96 VNET_PCPUSTAT_SYSUNINIT(icmpstat); variable 194 * Kernel module interface for updating icmpstat. The argument is an index 195 * into icmpstat treated as an array of u_long. While this encodes the 196 * general layout of icmpstat int [all...] |
/freebsd-10.2-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ip.c | 43 static struct icmpstat icmpstat; variable in typeref:struct:icmpstat 72 len = sizeof(icmpstat); 73 if (sysctlbyname("net.inet.icmp.stats", &icmpstat, &len, NULL, 0) == -1) { 77 if (len != sizeof(icmpstat)) { 376 value->v.integer += icmpstat.icps_inhist[i]; 377 value->v.integer += icmpstat.icps_tooshort + 378 icmpstat.icps_checksum; 383 value->v.integer = icmpstat.icps_tooshort + 384 icmpstat [all...] |
/freebsd-10.2-release/usr.bin/systat/ |
H A D | icmp.c | 60 static struct icmpstat icmpstat, initstat, oldstat; variable in typeref:struct:icmpstat 133 domode(struct icmpstat *ret) 135 const struct icmpstat *sub; 150 *ret = icmpstat; 153 #define DO(stat) ret->stat = (icmpstat.stat - sub->stat) / divisor 176 struct icmpstat stats; 231 error("sysctl getting icmpstat size failed"); 234 if (len > sizeof icmpstat) { 235 error("icmpstat structur [all...] |
/freebsd-10.2-release/usr.bin/netstat/ |
H A D | inet.c | 1018 struct icmpstat icmpstat, zerostat; local 1022 len = sizeof icmpstat; 1026 if (sysctlbyname("net.inet.icmp.stats", &icmpstat, &len, 1032 kread_counters(off, &icmpstat, len); 1036 #define p(f, m) if (icmpstat.f || sflag <= 1) \ 1037 printf(m, icmpstat.f, plural(icmpstat.f)) 1038 #define p1a(f, m) if (icmpstat.f || sflag <= 1) \ 1039 printf(m, icmpstat [all...] |
/freebsd-10.2-release/release/picobsd/tinyware/ns/ |
H A D | ns.c | 655 struct icmpstat s; 661 len = sizeof(struct icmpstat);
|
Completed in 606 milliseconds