freebsd-dev/usr.bin/systat
Gleb Smirnoff cc65eb4e79 Hide struct inpcb, struct tcpcb from the userland.
This is a painful change, but it is needed.  On the one hand, we avoid
modifying them, and this slows down some ideas, on the other hand we still
eventually modify them and tools like netstat(1) never work on next version of
FreeBSD.  We maintain a ton of spares in them, and we already got some ifdef
hell at the end of tcpcb.

Details:
- Hide struct inpcb, struct tcpcb under _KERNEL || _WANT_FOO.
- Make struct xinpcb, struct xtcpcb pure API structures, not including
  kernel structures inpcb and tcpcb inside.  Export into these structures
  the fields from inpcb and tcpcb that are known to be used, and put there
  a ton of spare space.
- Make kernel and userland utilities compilable after these changes.
- Bump __FreeBSD_version.

Reviewed by:	rrs, gnn
Differential Revision:	D10018
2017-03-21 06:39:49 +00:00
..
cmds.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cmdtab.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
convtbl.c
convtbl.h
devs.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
devs.h
extern.h Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
fetch.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
icmp6.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
icmp.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ifcmds.c
ifstat.c Fix integer truncation in affecting systat -ifstat 2014-09-29 17:38:50 +00:00
iostat.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ip6.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ip.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
keyboard.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
main.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
Makefile Add support to systat to display SCTP statistics. 2015-10-24 09:34:40 +00:00
Makefile.depend Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
mode.c
mode.h
netcmds.c Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
netstat.c Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
pigs.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sctp.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
swap.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
systat.1 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
systat.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tcp.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vmstat.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
zarc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00