summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2006-05-12 04:41:27 +0000
committermlaier <mlaier@FreeBSD.org>2006-05-12 04:41:27 +0000
commit95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2 (patch)
tree8c7da3df3d9265ef97f64e2b6617e900ce33f24e /sys/netinet/ip_fw.h
parentc44b3e762ea073484239a80b3968a71c3d903f4f (diff)
downloadFreeBSD-src-95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2.zip
FreeBSD-src-95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2.tar.gz
Reintroduce net.inet6.ip6.fw.enable sysctl to dis/enable the ipv6 processing
seperately. Also use pfil hook/unhook instead of keeping the check functions in pfil just to return there based on the sysctl. While here fix some whitespace on a nearby SYSCTL_ macro.
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index 05d8b7d..0893e46 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -537,6 +537,9 @@ typedef int ip_fw_ctl_t(struct sockopt *);
extern ip_fw_ctl_t *ip_fw_ctl_ptr;
extern int fw_one_pass;
extern int fw_enable;
+#ifdef INET6
+extern int fw6_enable;
+#endif
/* For kernel ipfw_ether and ipfw_bridge. */
typedef int ip_fw_chk_t(struct ip_fw_args *args);
OpenPOWER on IntegriCloud