diff options
author | phk <phk@FreeBSD.org> | 1996-04-03 13:52:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-04-03 13:52:20 +0000 |
commit | 8a4381b139489559851a24f7e7088354b0acf624 (patch) | |
tree | 483ce3e46ff56905fdb02eea47e8607647309f56 /sys/netinet/in.h | |
parent | 1ed2b37fd0916198236f3d291a834deea1779c2f (diff) | |
download | FreeBSD-src-8a4381b139489559851a24f7e7088354b0acf624.zip FreeBSD-src-8a4381b139489559851a24f7e7088354b0acf624.tar.gz |
Add feature for tcp "established".
Change interface between netinet and ip_fw to be more general, and thus
hopefully also support other ip filtering implementations.
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 810dec8..f19aaeb 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in.h 8.3 (Berkeley) 1/3/94 - * $Id: in.h,v 1.15 1996/02/22 21:32:17 peter Exp $ + * $Id: in.h,v 1.16 1996/03/14 16:59:18 fenner Exp $ */ #ifndef _NETINET_IN_H_ @@ -310,7 +310,13 @@ int in_canforward __P((struct in_addr)); int in_cksum __P((struct mbuf *, int)); int in_localaddr __P((struct in_addr)); char *inet_ntoa __P((struct in_addr)); /* in libkern */ -#endif -#endif +/* Firewall hooks */ +struct ip; +typedef int ip_fw_chk_t __P((struct ip**, int, struct ifnet*, int, struct mbuf**)); +typedef int ip_fw_ctl_t __P((int, struct mbuf**)); +extern ip_fw_chk_t *ip_fw_chk_ptr; +extern ip_fw_ctl_t *ip_fw_ctl_ptr; +#endif /* KERNEL */ +#endif |