1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00
freebsd/usr.bin/netstat
Gleb Smirnoff 0e229f343f Hide struct socket and struct unpcb from the userland.
Violators may define _WANT_SOCKET and _WANT_UNPCB respectively and
are not guaranteed for stability of the structures.  The violators
list is the the usual one: libprocstat(3) and netstat(1) internally
and lsof in ports.

In struct xunpcb remove the inclusion of kernel structure and add
a bunch of spare fields.  The xsocket already has socket not included,
but add there spares as well.  Embed xsockbuf into xsocket.

Sort declarations in sys/socketvar.h to separate kernel only from
userland available ones.

PR:		221820 (exp-run)
2017-10-02 23:29:56 +00:00
..
bpf.c
if.c
inet6.c
inet.c Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
ipsec.c Add descriptions for AES-GCM IPSec authentication (AH) counters. 2017-05-27 16:53:39 +00:00
main.c Don't call kresolv_list() if using netstat on live kernel 2017-08-30 07:58:33 +00:00
Makefile After inpcb route caching was put back in place there is no need for 2017-07-27 13:03:36 +00:00
Makefile.depend
mbuf.c
mroute6.c
mroute.c
netgraph.c Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
netisr.c
netstat.1 The combination of IPv6 and SCTP is also supported. 2017-09-09 07:48:58 +00:00
netstat.h After inpcb route caching was put back in place there is no need for 2017-07-27 13:03:36 +00:00
nlist_symbols
pfkey.c
route.c Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
sctp.c
unix.c Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00