Lines Matching refs:stackid
221 static void *hook_stack_init(netstackid_t stackid, netstack_t *ns);
222 static void hook_stack_fini(netstackid_t stackid, void *arg);
223 static void hook_stack_shutdown(netstackid_t stackid, void *arg);
490 hook_stack_init(netstackid_t stackid, netstack_t *ns) in hook_stack_init() argument
495 printf("hook_stack_init(stack %d)\n", stackid); in hook_stack_init()
500 hks->hks_netstackid = stackid; in hook_stack_init()
533 hook_stack_shutdown(netstackid_t stackid, void *arg) in hook_stack_shutdown() argument
561 hook_stack_fini(netstackid_t stackid, void *arg) in hook_stack_fini() argument
611 hook_stack_get(netstackid_t stackid) in hook_stack_get() argument
616 if (hks->hks_netstackid == stackid) in hook_stack_get()
639 hook_stack_notify_register(netstackid_t stackid, hook_notify_fn_t callback, in hook_stack_notify_register() argument
652 hks = hook_stack_get(stackid); in hook_stack_notify_register()
706 hook_stack_notify_unregister(netstackid_t stackid, hook_notify_fn_t callback) in hook_stack_notify_unregister() argument
715 hks = hook_stack_get(stackid); in hook_stack_notify_unregister()
2415 hook_int_free(hook_int_t *hi, netstackid_t stackid) in hook_int_free() argument
2442 kstat_delete_netstack(hi->hi_kstatp, stackid); in hook_int_free()