]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/radix.h
xnu-1228.3.13.tar.gz
[apple/xnu.git] / bsd / net / radix.h
index 579e51479264374ddf5c113836373da25da33b41..3431a2d2530580329f886c6f29585bfb91da4956 100644 (file)
@@ -169,6 +169,7 @@ struct radix_node_head {
        void    (*rnh_close)    /* do something when the last ref drops */
                (struct radix_node *rn, struct radix_node_head *head);
        struct  radix_node rnh_nodes[3];        /* empty tree for common case */
+       int     rnh_cnt;                        /* tree dimension */
 };
 
 #ifndef KERNEL
@@ -185,7 +186,7 @@ struct radix_node_head {
 #define R_Free(p) FREE((caddr_t)p, M_RTABLE);
 #endif /*KERNEL*/
 
-void    rn_init(void);
+void    rn_init(void) __attribute__((section("__TEXT, initcode")));
 int     rn_inithead(void **, int);
 int     rn_refines(void *, void *);
 struct radix_node