projects
/
apple
/
xnu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xnu-1228.7.58.tar.gz
[apple/xnu.git]
/
bsd
/
netinet
/
ip_fw.h
diff --git
a/bsd/netinet/ip_fw.h
b/bsd/netinet/ip_fw.h
index 10e65293a1e63a798cab426b35c21b57c3bfc2e5..174bf8ff133215866b5aed4d5caa8e6d2b7138fc 100644
(file)
--- a/
bsd/netinet/ip_fw.h
+++ b/
bsd/netinet/ip_fw.h
@@
-42,6
+42,9
@@
#ifndef _IP_FW_H
#define _IP_FW_H
#ifndef _IP_FW_H
#define _IP_FW_H
+
+#if !__LP64__
+
#include <sys/appleapiopts.h>
#ifdef IPFW2
#include <sys/appleapiopts.h>
#ifdef IPFW2
@@
-49,7
+52,7
@@
#else /* !IPFW2, good old ipfw */
#include <sys/queue.h>
#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 */
#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;
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
extern struct ipfw_flow_id last_pkt ;
#endif KERNEL_PRIVATE
+#endif /* !__LP64__ */
#endif !IPFW2
#endif /* _IP_FW_H */
#endif !IPFW2
#endif /* _IP_FW_H */