]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/dlil_pvt.h
xnu-792.tar.gz
[apple/xnu.git] / bsd / net / dlil_pvt.h
index 91da52b03bd538184375f2f58f3d7a515f25caa2..af688c107dab5d63ebde9ea0f21a15777b87015e 100644 (file)
 #ifndef DLIL_PVT_H
 #define DLIL_PVT_H
 #include <sys/appleapiopts.h>
-#ifdef __APPLE_API_PRIVATE
+#ifdef KERNEL_PRIVATE
 
 #include <net/dlil.h>
 #include <sys/queue.h>
 
-struct dlil_if_filterq_entry {
-    TAILQ_ENTRY(dlil_if_filterq_entry) que;
-    struct dlil_interface_filter_str if_filter;
-};
-
-
 struct dlil_family_mod_str {
     TAILQ_ENTRY(dlil_family_mod_str)   dl_fam_next;
     char       *interface_family;
     int (*add_if)(struct ifnet_ptr  *ifp);
     int (*del_if)(struct ifnet    *ifp);
-    int (*add_proto)(TAILQ_HEAD(ddesc_head_name, dlil_demux_desc) demux_desc_head,
-                    struct if_proto  *proto);
-    int (*del_proto)(struct if_proto  *proto);
+    int (*add_proto)(struct ifnet *ifp, u_long protocol_family,
+                                struct ddesc_head_str *demux_desc_head);
+    int (*del_proto)(struct ifnet *ifp, u_long proto_family);
 }
 
-#endif /* __APPLE_API_PRIVATE */
+#endif /* KERNEL_PRIVATE */
 #endif