Searched refs:ipstat (Results 1 - 9 of 9) sorted by relevance
/freebsd-12-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ip.c | 41 static struct ipstat ipstat; variable in typeref:struct:ipstat 56 len = sizeof(ipstat); 57 if (sysctlbyname("net.inet.ip.stats", &ipstat, &len, NULL, 0) == -1) { 61 if (len != sizeof(ipstat)) { 269 value->v.uint32 = ipstat.ips_total; 273 value->v.uint32 = ipstat.ips_badsum + ipstat.ips_tooshort 274 + ipstat.ips_toosmall + ipstat [all...] |
/freebsd-12-stable/sys/netinet/ |
H A D | ip_var.h | 103 struct ipstat { struct 140 VNET_PCPUSTAT_DECLARE(struct ipstat, ipstat); 146 VNET_PCPUSTAT_ADD(struct ipstat, ipstat, name, (val)) 156 kmod_ipstat_inc(offsetof(struct ipstat, name) / sizeof(uint64_t)) 159 kmod_ipstat_dec(offsetof(struct ipstat, name) / sizeof(uint64_t))
|
H A D | ip_input.c | 195 VNET_PCPUSTAT_DEFINE(struct ipstat, ipstat); 196 VNET_PCPUSTAT_SYSINIT(ipstat); variable 197 SYSCTL_VNET_PCPUSTAT(_net_inet_ip, IPCTL_STATS, stats, struct ipstat, ipstat, 198 "IP statistics (struct ipstat, netinet/ip_var.h)"); 201 VNET_PCPUSTAT_SYSUNINIT(ipstat); variable 205 * Kernel module interface for updating ipstat. The argument is an index 206 * into ipstat treated as an array. 212 counter_u64_add(VNET(ipstat)[statnu [all...] |
/freebsd-12-stable/contrib/netbsd-tests/net/icmp/ |
H A D | t_ping.c | 343 uint64_t ipstat[IP_NSTATS]; local 356 arglen = sizeof(ipstat); 357 RL(rump_sys___sysctl(mib, 4, &ipstat, &arglen, 359 if (loop == 0 && ipstat[IP_STAT_TOOLONG] != 0) 361 if (ipstat[IP_STAT_TOOLONG])
|
/freebsd-12-stable/contrib/unbound/compat/ |
H A D | getentropy_osx.c | 223 struct ipstat ipstat; local 268 ii = sizeof(ipstat); 270 &ipstat, &ii, NULL, 0) == -1, ipstat); local
|
/freebsd-12-stable/tests/sys/netinet/ |
H A D | ip_reass_test.c | 171 get_ipstat(struct ipstat *stat) 201 struct ipstat old, new; 279 struct ipstat old, new; 329 struct ipstat old, new;
|
/freebsd-12-stable/usr.bin/netstat/ |
H A D | inet.c | 1006 struct ipstat ipstat; local 1008 if (fetch_stats("net.inet.ip.stats", off, &ipstat, 1009 sizeof(ipstat), kread_counters) != 0) 1015 #define p(f, m) if (ipstat.f || sflag <= 1) \ 1016 xo_emit(m, (uintmax_t )ipstat.f, plural(ipstat.f)) 1017 #define p1a(f, m) if (ipstat.f || sflag <= 1) \ 1018 xo_emit(m, (uintmax_t )ipstat.f) 1054 if (ipstat [all...] |
/freebsd-12-stable/release/picobsd/tinyware/ns/ |
H A D | ns.c | 436 struct ipstat s; 446 len = sizeof(struct ipstat);
|
/freebsd-12-stable/usr.bin/systat/ |
H A D | ip.c | 66 struct ipstat i; 265 error("sysctl getting ipstat size failed"); 269 error("ipstat structure has grown--recompile systat!"); 273 error("sysctl getting ipstat failed"); 285 error("ipstat structure has grown--recompile systat!"); 309 error("sysctl getting ipstat failed");
|
Completed in 226 milliseconds