1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/usr.bin/netstat
Mark Johnston 794c57d3c5 Fix counter reads on platforms where sizeof(uint64_t) != sizeof(uint64_t *).
In the kernel, structs such as tcpstat are manipulated as an array of
counter_u64_t (uint64_t *), but made visible to userland as an array of
uint64_t. kread_counters() was previously copying the counter array into
user space and sequentially overwriting each counter with its value. This
mostly affects IPsec counters, as other counters are exported via sysctl.

PR:		201700
Tested by:	Jason Unovitch
MFC after:	1 week
2015-07-21 23:57:38 +00:00
..
bpf.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
flowtable.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
if.c Printing interface names: 2015-05-06 16:43:44 +00:00
inet6.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
inet.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
ipsec.c New AES modes for IPSec, user space components. 2015-07-03 20:09:14 +00:00
main.c Fix counter reads on platforms where sizeof(uint64_t) != sizeof(uint64_t *). 2015-07-21 23:57:38 +00:00
Makefile Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
mbuf.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
mroute6.c o Make net.inet6.ip6.mif6table return special API structure, that doesn't 2015-04-06 22:12:18 +00:00
mroute.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
netgraph.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
netisr.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
netstat.1 Like it was already done for 'netstat -i', drop the kvm(3) support 2015-04-07 05:50:45 +00:00
netstat.h Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
pfkey.c Fix some libxo format string errors in the pfkey stats code. 2015-07-20 02:38:51 +00:00
route.c Properly align the header and the data columns for netstat -r with and 2015-05-18 18:03:47 +00:00
sctp.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00
unix.c Convert netstat to use libxo. 2015-02-21 23:47:20 +00:00