summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-20 13:32:06 +0000
committerpeter <peter@FreeBSD.org>1999-04-20 13:32:06 +0000
commitf9bc841320c631b24281c6561466509a4771b0f0 (patch)
treecf383e55c2da8227f5f29a904f4e3686a7cf73c5 /sys/netinet/ip_fw.h
parent5bfc6b1d275f04b0232db26413bbd022a3b535bd (diff)
downloadFreeBSD-src-f9bc841320c631b24281c6561466509a4771b0f0.zip
FreeBSD-src-f9bc841320c631b24281c6561466509a4771b0f0.tar.gz
Tidy up some stray / unused stuff in the IPFW package and friends.
- unifdef -DCOMPAT_IPFW (this was on by default already) - remove traces of in-kernel ip_nat package, it was never committed. - Make IPFW and DUMMYNET initialize themselves rather than depend on compiled-in hooks in ip_init(). This means they initialize the same way both in-kernel and as kld modules. (IPFW initializes now :-)
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index a4cee76..3dc3c0e 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -11,7 +11,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_fw.h,v 1.35 1998/09/02 19:14:01 phk Exp $
+ * $Id: ip_fw.h,v 1.36 1998/12/14 18:09:13 luigi Exp $
*/
#ifndef _IP_FW_H
@@ -198,14 +198,6 @@ typedef int ip_fw_ctl_t __P((struct sockopt *));
extern ip_fw_chk_t *ip_fw_chk_ptr;
extern ip_fw_ctl_t *ip_fw_ctl_ptr;
-/* IP NAT hooks */
-typedef int ip_nat_t __P((struct ip **, struct mbuf **, struct ifnet *, int));
-typedef int ip_nat_ctl_t __P((struct sockopt *));
-extern ip_nat_t *ip_nat_ptr;
-extern ip_nat_ctl_t *ip_nat_ctl_ptr;
-#define IP_NAT_IN 0x00000001
-#define IP_NAT_OUT 0x00000002
-
#endif /* KERNEL */
#endif /* _IP_FW_H */
OpenPOWER on IntegriCloud