Home
last modified time | relevance | path

Searched refs:udpstat (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/contrib/bsnmp/snmp_mibII/
H A DmibII_udp.c47 static struct udpstat udpstat; variable
73 len = sizeof(udpstat); 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()
189 udpstat.udps_badlen + in op_udp()
[all …]
/freebsd-12.1/sys/netinet/
H A Dudp_var.h85 struct udpstat { struct
108 VNET_PCPUSTAT_DECLARE(struct udpstat, udpstat); argument
114 VNET_PCPUSTAT_ADD(struct udpstat, udpstat, name, (val))
122 kmod_udpstat_inc(offsetof(struct udpstat, name) / sizeof(uint64_t))
H A Dudp_usrreq.c154 VNET_PCPUSTAT_DEFINE(struct udpstat, udpstat); /* from udp_var.h */
155 VNET_PCPUSTAT_SYSINIT(udpstat);
156 SYSCTL_VNET_PCPUSTAT(_net_inet_udp, UDPCTL_STATS, stats, struct udpstat,
157 udpstat, "UDP statistics (struct udpstat, netinet/udp_var.h)");
160 VNET_PCPUSTAT_SYSUNINIT(udpstat);
237 counter_u64_add(VNET(udpstat)[statnum], 1); in kmod_udpstat_inc()
/freebsd-12.1/usr.bin/netstat/
H A Dinet.c827 struct udpstat udpstat; in udp_stats() local
838 sizeof(udpstat), kread_counters) != 0) in udp_stats()
845 xo_emit("\t" m, (uintmax_t)udpstat.f, plural(udpstat.f)) in udp_stats()
847 xo_emit("\t" m, (uintmax_t)udpstat.f) in udp_stats()
867 delivered = udpstat.udps_ipackets - in udp_stats()
868 udpstat.udps_hdrops - in udp_stats()
869 udpstat.udps_badlen - in udp_stats()
870 udpstat.udps_badsum - in udp_stats()
871 udpstat.udps_noport - in udp_stats()
872 udpstat.udps_noportbcast - in udp_stats()
[all …]
/freebsd-12.1/contrib/unbound/compat/
H A Dgetentropy_osx.c222 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-12.1/release/picobsd/tinyware/ns/
H A Dns.c597 struct udpstat s; in print_udp_stats()
603 len = sizeof(struct udpstat); in print_udp_stats()
/freebsd-12.1/usr.bin/systat/
H A Dip.c67 struct udpstat u;