Home
last modified time | relevance | path

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

/f-stack/tools/compat/include/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))
/f-stack/freebsd/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.c157 VNET_PCPUSTAT_DEFINE(struct udpstat, udpstat); /* from udp_var.h */
158 VNET_PCPUSTAT_SYSINIT(udpstat);
159 SYSCTL_VNET_PCPUSTAT(_net_inet_udp, UDPCTL_STATS, stats, struct udpstat,
160 udpstat, "UDP statistics (struct udpstat, netinet/udp_var.h)");
163 VNET_PCPUSTAT_SYSUNINIT(udpstat);
240 counter_u64_add(VNET(udpstat)[statnum], 1); in kmod_udpstat_inc()
/f-stack/tools/netstat/
H A Dinet.c890 struct udpstat udpstat; in udp_stats() local
901 sizeof(udpstat), kread_counters) != 0) in udp_stats()
908 xo_emit("\t" m, (uintmax_t)udpstat.f, plural(udpstat.f)) in udp_stats()
910 xo_emit("\t" m, (uintmax_t)udpstat.f) in udp_stats()
930 delivered = udpstat.udps_ipackets - in udp_stats()
931 udpstat.udps_hdrops - in udp_stats()
932 udpstat.udps_badlen - in udp_stats()
933 udpstat.udps_badsum - in udp_stats()
934 udpstat.udps_noport - in udp_stats()
935 udpstat.udps_noportbcast - in udp_stats()
[all …]