Searched refs:udpstat (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13-stable/contrib/bsnmp/snmp_mibII/ |
| HD | mibII_udp.c | 47 static struct udpstat udpstat; variable 73 len = sizeof(udpstat); in fetch_udp() 74 if (sysctlbyname("net.inet.udp.stats", &udpstat, &len, NULL, 0) == -1) { in fetch_udp() 78 if (len != sizeof(udpstat)) { in fetch_udp() 177 value->v.uint32 = udpstat.udps_ipackets; in op_udp() 181 value->v.uint32 = udpstat.udps_noport + in op_udp() 182 udpstat.udps_noportbcast + in op_udp() 183 udpstat.udps_noportmcast; in op_udp() 187 value->v.uint32 = udpstat.udps_hdrops + in op_udp() 188 udpstat.udps_badsum + in op_udp() [all …]
|
| /freebsd-13-stable/sys/netinet/ |
| HD | udp_var.h | 84 struct udpstat { struct 107 VNET_PCPUSTAT_DECLARE(struct udpstat, udpstat); argument 113 VNET_PCPUSTAT_ADD(struct udpstat, udpstat, name, (val)) 121 kmod_udpstat_inc(offsetof(struct udpstat, name) / sizeof(uint64_t))
|
| HD | udp_usrreq.c | 159 VNET_PCPUSTAT_DEFINE(struct udpstat, udpstat); /* from udp_var.h */ 160 VNET_PCPUSTAT_SYSINIT(udpstat); 161 SYSCTL_VNET_PCPUSTAT(_net_inet_udp, UDPCTL_STATS, stats, struct udpstat, 162 udpstat, "UDP statistics (struct udpstat, netinet/udp_var.h)"); 165 VNET_PCPUSTAT_SYSUNINIT(udpstat); 242 counter_u64_add(VNET(udpstat)[statnum], 1); in kmod_udpstat_inc()
|
| /freebsd-13-stable/usr.bin/netstat/ |
| HD | inet.c | 898 struct udpstat udpstat; in udp_stats() local 908 if (fetch_stats("net.inet.udp.stats", off, &udpstat, in udp_stats() 909 sizeof(udpstat), kread_counters) != 0) in udp_stats() 915 #define p(f, m) if (udpstat.f || sflag <= 1) \ in udp_stats() 916 xo_emit("\t" m, (uintmax_t)udpstat.f, plural(udpstat.f)) in udp_stats() 917 #define p1a(f, m) if (udpstat.f || sflag <= 1) \ in udp_stats() 918 xo_emit("\t" m, (uintmax_t)udpstat.f) in udp_stats() 938 delivered = udpstat.udps_ipackets - in udp_stats() 939 udpstat.udps_hdrops - in udp_stats() 940 udpstat.udps_badlen - in udp_stats() [all …]
|
| /freebsd-13-stable/contrib/unbound/compat/ |
| HD | getentropy_osx.c | 222 struct udpstat udpstat; in getentropy_fallback() local 264 ii = sizeof(udpstat); in getentropy_fallback() 266 &udpstat, &ii, NULL, 0) == -1, udpstat); in getentropy_fallback()
|
| /freebsd-13-stable/usr.bin/systat/ |
| HD | ip.c | 64 struct udpstat u;
|