freebsd-dev/contrib/ipfilter/ipsend
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
..
.OLD
44arp.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
arp.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
Crashable
dlcommon.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
dltest.h
ip.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
ipresend.1
ipresend.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
ipsend.1
ipsend.5 Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
ipsend.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
ipsend.h Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
ipsopt.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
iptest.1
iptest.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
iptests.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
larp.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
linux.h Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
lsock.c calloc() and realloc() modernization. 2017-03-16 04:40:07 +00:00
Makefile Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
resend.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
sbpf.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
sdlpi.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
sirix.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
slinux.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
snit.c Update ipfilter 4.1.28 --> 5.1.2. 2013-09-06 23:11:19 +00:00
sock.c Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
sockraw.c