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

/freebsd-11.0-release/contrib/bsnmp/snmp_mibII/
H A DmibII_udp.c47 static struct udpstat udpstat; variable in typeref:struct:udpstat
73 len = sizeof(udpstat);
74 if (sysctlbyname("net.inet.udp.stats", &udpstat, &len, NULL, 0) == -1) {
78 if (len != sizeof(udpstat)) {
177 value->v.uint32 = udpstat.udps_ipackets;
181 value->v.uint32 = udpstat.udps_noport +
182 udpstat.udps_noportbcast +
183 udpstat.udps_noportmcast;
187 value->v.uint32 = udpstat
[all...]
/freebsd-11.0-release/sys/netinet/
H A Dudp_var.h83 struct udpstat { struct
106 VNET_PCPUSTAT_DECLARE(struct udpstat, udpstat);
112 VNET_PCPUSTAT_ADD(struct udpstat, udpstat, name, (val))
120 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); variable
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); variable
238 * Kernel module interface for updating udpstat. The argument is an index
239 * into udpstat treated as an array of u_long. While this encodes the
240 * general layout of udpstat int
[all...]
/freebsd-11.0-release/usr.bin/netstat/
H A Dinet.c893 struct udpstat udpstat; local
903 if (fetch_stats("net.inet.udp.stats", off, &udpstat,
904 sizeof(udpstat), kread_counters) != 0)
910 #define p(f, m) if (udpstat.f || sflag <= 1) \
911 xo_emit("\t" m, (uintmax_t)udpstat.f, plural(udpstat.f))
912 #define p1a(f, m) if (udpstat.f || sflag <= 1) \
913 xo_emit("\t" m, (uintmax_t)udpstat.f)
933 delivered = udpstat
[all...]
/freebsd-11.0-release/contrib/unbound/compat/
H A Dgetentropy_osx.c234 struct udpstat udpstat; local
274 ii = sizeof(udpstat);
276 &udpstat, &ii, NULL, 0) == -1, udpstat); local
/freebsd-11.0-release/usr.bin/systat/
H A Dip.c64 struct udpstat u;
278 error("sysctl getting udpstat size failed");
286 error("sysctl getting udpstat failed");
313 error("sysctl getting udpstat failed");
/freebsd-11.0-release/release/picobsd/tinyware/ns/
H A Dns.c597 struct udpstat s;
603 len = sizeof(struct udpstat);

Completed in 168 milliseconds