Lines Matching defs: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);
480 * Parameters: stackid(I) - identifier for the network instance that owns this
489 hook_stack_init(netstackid_t stackid, netstack_t *ns)
494 printf("hook_stack_init(stack %d)\n", stackid);
499 hks->hks_netstackid = stackid;
517 * Parameters: stackid(I) - identifier for the network instance that owns this
532 hook_stack_shutdown(netstackid_t stackid, void *arg)
548 * Parameters: stackid(I) - identifier for the network instance that owns this
560 hook_stack_fini(netstackid_t stackid, void *arg)
603 * Parameters: stackid(I) - instance id to search for
610 hook_stack_get(netstackid_t stackid)
615 if (hks->hks_netstackid == stackid)
625 * Parameters: stackid(I) - netstack identifier
638 hook_stack_notify_register(netstackid_t stackid, hook_notify_fn_t callback,
651 hks = hook_stack_get(stackid);
695 * Parameters: stackid(I) - netstack identifier
705 hook_stack_notify_unregister(netstackid_t stackid, hook_notify_fn_t callback)
715 hks = hook_stack_get(stackid);
747 hks = hook_stack_get(stackid);
2399 hook_int_free(hook_int_t *hi, netstackid_t stackid)
2426 kstat_delete_netstack(hi->hi_kstatp, stackid);
2502 * Parameters: stackid(I) - netstack identifier