Lines Matching refs:stackid
216 static void *hook_stack_init(netstackid_t stackid, netstack_t *ns);
217 static void hook_stack_fini(netstackid_t stackid, void *arg);
218 static void hook_stack_shutdown(netstackid_t stackid, void *arg);
485 hook_stack_init(netstackid_t stackid, netstack_t *ns) in hook_stack_init() argument
490 printf("hook_stack_init(stack %d)\n", stackid); in hook_stack_init()
495 hks->hks_netstackid = stackid; in hook_stack_init()
528 hook_stack_shutdown(netstackid_t stackid, void *arg) in hook_stack_shutdown() argument
556 hook_stack_fini(netstackid_t stackid, void *arg) in hook_stack_fini() argument
606 hook_stack_get(netstackid_t stackid) in hook_stack_get() argument
611 if (hks->hks_netstackid == stackid) in hook_stack_get()
634 hook_stack_notify_register(netstackid_t stackid, hook_notify_fn_t callback, in hook_stack_notify_register() argument
647 hks = hook_stack_get(stackid); in hook_stack_notify_register()
701 hook_stack_notify_unregister(netstackid_t stackid, hook_notify_fn_t callback) in hook_stack_notify_unregister() argument
711 hks = hook_stack_get(stackid); in hook_stack_notify_unregister()
743 hks = hook_stack_get(stackid); in hook_stack_notify_unregister()
2392 hook_int_free(hook_int_t *hi, netstackid_t stackid) in hook_int_free() argument
2419 kstat_delete_netstack(hi->hi_kstatp, stackid); in hook_int_free()