X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..2d21ac55c334faf3a56e5634905ed6987fc787d4:/bsd/netinet/ip_fw.h diff --git a/bsd/netinet/ip_fw.h b/bsd/netinet/ip_fw.h index e1cafd4cf..174bf8ff1 100644 --- a/bsd/netinet/ip_fw.h +++ b/bsd/netinet/ip_fw.h @@ -42,6 +42,9 @@ #ifndef _IP_FW_H #define _IP_FW_H + +#if !__LP64__ + #include #ifdef IPFW2 @@ -49,7 +52,7 @@ #else /* !IPFW2, good old ipfw */ #include - +#include /* u_ types */ #define IP_FW_CURRENT_API_VERSION 20 /* Version of this API */ @@ -318,8 +321,10 @@ extern ip_fw_chk_t *ip_fw_chk_ptr; 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) extern struct ipfw_flow_id last_pkt ; #endif KERNEL_PRIVATE +#endif /* !__LP64__ */ #endif !IPFW2 -#endif _IP_FW_H +#endif /* _IP_FW_H */