opnsense-src/usr.bin/netstat
Robert Watson d4426f281d Modify netstat -mb to use libmemstat when accessing a core dump or live
kernel memory and not using sysctl.  Previously, libmemstat was used
only for the live kernel via sysctl paths.

This results in netstat output becoming both more consistent between
core dumps and the live kernel, and also more information in the core
dump case than previously (i.e., mbuf cache information).

Statistics relating to sfbufs still rely on a kvm descriptor as they
are not currently exposed via libmemstat.  netstat -m operating on a
core is still unable to print certain sfbuf stats available on the live
kernel.

MFC after:	1 week
2005-11-13 14:06:01 +00:00
..
atalk.c Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). 2004-07-26 20:18:11 +00:00
bpf.c Use is '-' to imply that the flag is not set, rather than '.'. 2005-09-15 16:09:24 +00:00
if.c Align output. 2005-11-09 15:12:57 +00:00
inet.c Silence a warning on systems without carp(4). 2005-04-12 08:47:04 +00:00
inet6.c Use the length modifier 'll' instead of 'q' to print long longs. 2004-07-28 16:03:13 +00:00
ipsec.c Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). 2004-07-26 20:18:11 +00:00
ipx.c evise use of queue(9) macros for netipx when used from userspace: 2005-01-02 19:26:06 +00:00
main.c Modify netstat -mb to use libmemstat when accessing a core dump or live 2005-11-13 14:06:01 +00:00
Makefile Merge bpfstat's functionality into the netstat(1) utility. This adds 2005-09-07 17:35:16 +00:00
mbuf.c Modify netstat -mb to use libmemstat when accessing a core dump or live 2005-11-13 14:06:01 +00:00
mcast.c Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). 2004-07-26 20:18:11 +00:00
mroute.c Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). 2004-07-26 20:18:11 +00:00
mroute6.c Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). 2004-07-26 20:18:11 +00:00
netgraph.c Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). 2004-07-26 20:18:11 +00:00
netstat.1 Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
netstat.h Modify netstat -mb to use libmemstat when accessing a core dump or live 2005-11-13 14:06:01 +00:00
route.c NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines 2005-05-13 16:31:11 +00:00
unix.c Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). 2004-07-26 20:18:11 +00:00