Searched refs:divstat (Results 1 – 3 of 3) sorted by relevance
| /src/sys/netinet/ |
| H A D | ip_divert.c | 121 VNET_PCPUSTAT_DEFINE_STATIC(struct divstat, divstat); 122 VNET_PCPUSTAT_SYSINIT(divstat); 124 VNET_PCPUSTAT_SYSUNINIT(divstat); 126 SYSCTL_VNET_PCPUSTAT(_net_inet_divert, OID_AUTO, stats, struct divstat, 127 divstat, "divert(4) socket statistics"); 129 VNET_PCPUSTAT_ADD(struct divstat, divstat, div_ ## name, 1)
|
| H A D | ip_divert.h | 55 struct divstat { struct
|
| /src/usr.bin/netstat/ |
| H A D | inet.c | 1459 struct divstat divstat; in divert_stats() local 1461 if (fetch_stats("net.inet.divert.stats", off, &divstat, in divert_stats() 1462 sizeof(divstat), kread_counters) != 0) in divert_stats() 1468 #define p(f, m) if (divstat.f || sflag <= 1) \ in divert_stats() 1469 xo_emit(m, (uintmax_t)divstat.f, plural(divstat.f)) in divert_stats()
|