Lines Matching refs:stackid
220 static void *hook_stack_init(netstackid_t stackid, netstack_t *ns);
221 static void hook_stack_fini(netstackid_t stackid, void *arg);
222 static void hook_stack_shutdown(netstackid_t stackid, void *arg);
489 hook_stack_init(netstackid_t stackid, netstack_t *ns) in hook_stack_init() argument
494 printf("hook_stack_init(stack %d)\n", stackid); in hook_stack_init()
499 hks->hks_netstackid = stackid; in hook_stack_init()
532 hook_stack_shutdown(netstackid_t stackid, void *arg) in hook_stack_shutdown() argument
560 hook_stack_fini(netstackid_t stackid, void *arg) in hook_stack_fini() argument
610 hook_stack_get(netstackid_t stackid) in hook_stack_get() argument
615 if (hks->hks_netstackid == stackid) in hook_stack_get()
638 hook_stack_notify_register(netstackid_t stackid, hook_notify_fn_t callback, in hook_stack_notify_register() argument
651 hks = hook_stack_get(stackid); in hook_stack_notify_register()
705 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()
747 hks = hook_stack_get(stackid); in hook_stack_notify_unregister()
2399 hook_int_free(hook_int_t *hi, netstackid_t stackid) in hook_int_free() argument
2426 kstat_delete_netstack(hi->hi_kstatp, stackid); in hook_int_free()