lck_mtx_t *mtx;
struct socket *so; /* controlling socket */
struct kctl *kctl; /* back pointer to controller */
- u_int32_t unit;
void *userdata;
+ u_int32_t unit;
+ u_int32_t usecount;
};
/* built in system domain protocols init function */
__BEGIN_DECLS
-int kern_event_init(void);
-int kern_control_init(void);
+int kern_event_init(void) __attribute__((section("__TEXT, initcode")));
+int kern_control_init(void) __attribute__((section("__TEXT, initcode")));
__END_DECLS
#endif /* KERNEL_PRIVATE */