Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/sys/netinet/
H A Dudp_var.h75 struct udpstat { struct
127 VNET_PCPUSTAT_DECLARE(struct udpstat, udpstat);
133 VNET_PCPUSTAT_ADD(struct udpstat, udpstat, name, (val))
141 kmod_udpstat_inc(offsetof(struct udpstat, name) / sizeof(uint64_t))
H A Dudp_usrreq.c155 VNET_PCPUSTAT_DEFINE(struct udpstat, udpstat); /* from udp_var.h */
156 VNET_PCPUSTAT_SYSINIT(udpstat);
157 SYSCTL_VNET_PCPUSTAT(_net_inet_udp, UDPCTL_STATS, stats, struct udpstat,
158 udpstat, "UDP statistics (struct udpstat, netinet/udp_var.h)");
161 VNET_PCPUSTAT_SYSUNINIT(udpstat);
201 counter_u64_add(VNET(udpstat)[statnum], 1); in kmod_udpstat_inc()
/freebsd-14.2/usr.bin/netstat/
H A Dinet.c908 struct udpstat udpstat; in udp_stats() local
919 sizeof(udpstat), kread_counters) != 0) in udp_stats()
926 xo_emit("\t" m, (uintmax_t)udpstat.f, plural(udpstat.f)) in udp_stats()
928 xo_emit("\t" m, (uintmax_t)udpstat.f) in udp_stats()
948 delivered = udpstat.udps_ipackets - in udp_stats()
949 udpstat.udps_hdrops - in udp_stats()
950 udpstat.udps_badlen - in udp_stats()
951 udpstat.udps_badsum - in udp_stats()
952 udpstat.udps_noport - in udp_stats()
953 udpstat.udps_noportbcast - in udp_stats()
[all …]
/freebsd-14.2/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-14.2/usr.bin/systat/
H A Dip.c64 struct udpstat u;