/*
- * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2008 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
#ifndef _IP_FW_H
#define _IP_FW_H
+
#include <sys/appleapiopts.h>
#ifdef IPFW2
#else /* !IPFW2, good old ipfw */
#include <sys/queue.h>
-
+#include <sys/types.h> /* u_ types */
#define IP_FW_CURRENT_API_VERSION 20 /* Version of this API */
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 /* KERNEL_PRIVATE */
-#endif !IPFW2
-#endif _IP_FW_H
+#endif /* !IPFW2 */
+#endif /* _IP_FW_H */