]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/ndrv_var.h
xnu-3789.41.3.tar.gz
[apple/xnu.git] / bsd / net / ndrv_var.h
index ba6bf781c2b1adffe3c92b89c053ef27abeb7674..c2c2085954c6dc7d19a2b7d2f20bb7b2b7ffba82 100644 (file)
@@ -62,11 +62,12 @@ struct ndrv_cb
        struct sockproto nd_proto;      /* proto family, protocol */
        int nd_descrcnt;                /* # elements in nd_dlist - Obsolete */
        TAILQ_HEAD(dlist, dlil_demux_desc) nd_dlist; /* Descr. list */
+       u_int32_t nd_dlist_cnt; /* Descr. list count */
        struct ifnet *nd_if; /* obsolete, maintained for binary compatibility */
-    u_long     nd_proto_family;
-    u_long     nd_family;
-    struct ndrv_multiaddr*     nd_multiaddrs;
-    short      nd_unit;
+       u_int32_t nd_proto_family;
+       u_int32_t nd_family;
+       struct ndrv_multiaddr* nd_multiaddrs;
+       short nd_unit;
 };
 
 #define        sotondrvcb(so)          ((struct ndrv_cb *)(so)->so_pcb)