]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netat/aurp.h
xnu-792.25.20.tar.gz
[apple/xnu.git] / bsd / netat / aurp.h
index c98f2321f7f791fa465217b0ccc59bb8510c7649..cd063cefee79a6275bd56c10130f6fe896533ce4 100644 (file)
@@ -27,6 +27,8 @@
  *     File: aurp.h
  */
 
+#ifdef AURP_SUPPORT
+
 #ifndef _NETAT_AURP_H_
 #define        _NETAT_AURP_H_
 #include <sys/appleapiopts.h>
@@ -166,9 +168,6 @@ typedef struct {
        unsigned short flags;
 } aurp_hdr_t;
 
-#ifdef AURP_SUPPORT
-
-extern atlock_t aurpgen_lock;
 extern gref_t *aurp_gref;
 extern unsigned char dst_addr_cnt;
 extern unsigned char net_access_cnt;
@@ -178,7 +177,6 @@ extern int net_port;
 extern int update_tmo;
 extern aurp_state_t aurp_state[];
 extern unsigned short net_access[];
-#endif
 
 struct myq
 {      struct mbuf *q_head;
@@ -186,7 +184,6 @@ struct myq
        int q_cnt;
 };
 
-#define LOCK_DECL(x)   atlock_t x
 
 #include <sys/uio_internal.h>
 
@@ -289,3 +286,4 @@ extern struct aurp_global_t aurp_global;
 #endif /* KERNEL_PRIVATE */
 #endif /* __APPLE_API_OBSOLETE */
 #endif /* _NETAT_AURP_H_ */
+