X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/36401178fd6817c043cc00b0c00c7f723e58efae..4a3eedf9ecc9bbe3f3a5c6ce5e53ad199d639d32:/bsd/netinet/ip_fw2.h diff --git a/bsd/netinet/ip_fw2.h b/bsd/netinet/ip_fw2.h index cd1514ffd..1e36b65a9 100644 --- a/bsd/netinet/ip_fw2.h +++ b/bsd/netinet/ip_fw2.h @@ -432,6 +432,7 @@ struct _ipfw_dyn_rule { * Main firewall chains definitions and global var's definitions. */ #ifdef KERNEL +#if IPFIREWALL #define IP_FW_PORT_DYNT_FLAG 0x10000 #define IP_FW_PORT_TEE_FLAG 0x20000 @@ -457,6 +458,7 @@ struct ip_fw_args { u_int16_t divert_rule; /* divert cookie */ u_int32_t retval; }; +//struct ip_fw_args; /* * Function definitions. @@ -476,6 +478,7 @@ extern ip_fw_ctl_t *ip_fw_ctl_ptr; extern int fw_one_pass; extern int fw_enable; #define IPFW_LOADED (ip_fw_chk_ptr != NULL) +#endif /* IPFIREWALL */ #endif /* KERNEL */ #endif /* !__LP64__ */