Searched defs:stackid (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun_dev.c70 iptun_stack_init(netstackid_t stackid, netstack_t *ns) argument
85 iptun_stack_shutdown(netstackid_t stackid, void *arg) argument
104 iptun_stack_fini(netstackid_t stackid, void *arg) argument
/illumos-gate/usr/src/uts/common/io/
H A Dneti_stack.c43 static void *neti_stack_init(netstackid_t stackid, netstack_t *ns);
44 static void neti_stack_fini(netstackid_t stackid, void *arg);
47 static void neti_stack_shutdown(netstackid_t stackid, void *arg);
91 * the same values for (stackid,ns). The same also applies to the other
96 neti_stack_init(netstackid_t stackid, netstack_t *ns) argument
104 nts->nts_id = (netid_t)stackid;
105 nts->nts_stackid = stackid;
107 nts->nts_zoneid = netstackid_to_zoneid(stackid);
144 neti_stack_shutdown(netstackid_t stackid, void *arg) argument
203 * callback once for each stackid
212 neti_stack_fini(netstackid_t stackid, void *arg) argument
[all...]
H A Dneti_impl.c612 netstackid_t stackid = net_getnetstackidbynetid(netid); local
614 if (stackid == -1)
618 ndata, ks_flag, stackid));
624 netstackid_t stackid = net_getnetstackidbynetid(netid); local
626 if (stackid != -1)
627 kstat_delete_netstack(ks, stackid);
H A Dhook.c221 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);
481 * Parameters: stackid(I) - identifier for the network instance that owns this
490 hook_stack_init(netstackid_t stackid, netstack_t *ns) argument
495 printf("hook_stack_init(stack %d)\n", stackid);
500 hks->hks_netstackid = stackid;
518 * Parameters: stackid(I) - identifier for the network instance that owns this
533 hook_stack_shutdown(netstackid_t stackid, void *arg) argument
549 * Parameters: stackid(
561 hook_stack_fini(netstackid_t stackid, void *arg) argument
611 hook_stack_get(netstackid_t stackid) argument
639 hook_stack_notify_register(netstackid_t stackid, hook_notify_fn_t callback, void *arg) argument
706 hook_stack_notify_unregister(netstackid_t stackid, hook_notify_fn_t callback) argument
2415 hook_int_free(hook_int_t *hi, netstackid_t stackid) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_tunables.c240 netstackid_t stackid = ipst->ips_netstack->netstack_stackid; local
242 res = ipst->ips_ip_cgtp_filter_ops->cfo_change_state(stackid,
H A Dip6_input.c2521 netstackid_t stackid; local
2523 stackid = ipst->ips_netstack->netstack_stackid;
2531 stackid, ill->ill_phyint->phyint_ifindex,
H A Dip_input.c468 netstackid_t stackid; local
470 stackid = ipst->ips_netstack->netstack_stackid;
476 ipst->ips_ip_cgtp_filter_ops->cfo_filter(stackid,
H A Drts.c124 static void *rts_stack_init(netstackid_t stackid, netstack_t *ns);
125 static void rts_stack_fini(netstackid_t stackid, void *arg);
1251 rts_stack_init(netstackid_t stackid, netstack_t *ns) argument
1279 rts_stack_fini(netstackid_t stackid, void *arg) argument
H A Dkeysock.c154 static void *keysock_stack_init(netstackid_t stackid, netstack_t *ns);
155 static void keysock_stack_fini(netstackid_t stackid, void *arg);
417 keysock_stack_init(netstackid_t stackid, netstack_t *ns) argument
456 keysock_stack_fini(netstackid_t stackid, void *arg) argument
H A Dipsecah.c142 static void *ipsecah_stack_init(netstackid_t stackid, netstack_t *ns);
143 static void ipsecah_stack_fini(netstackid_t stackid, void *arg);
173 ah_kstat_init(ipsecah_stack_t *ahstack, netstackid_t stackid) argument
179 stackid);
187 ahstack->ah_ksp->ks_private = (void *)(uintptr_t)stackid;
218 netstackid_t stackid; local
228 stackid = (netstackid_t)(uintptr_t)kp->ks_private;
229 ns = netstack_find_by_stackid(stackid);
393 ipsecah_stack_init(netstackid_t stackid, netstack_t *ns) argument
408 (void) ah_kstat_init(ahstack, stackid);
434 ipsecah_stack_fini(netstackid_t stackid, void *arg) argument
[all...]
H A Dspdsock.c160 static void *spdsock_stack_init(netstackid_t stackid, netstack_t *ns);
161 static void spdsock_stack_shutdown(netstackid_t stackid, void *arg);
162 static void spdsock_stack_fini(netstackid_t stackid, void *arg);
315 spdsock_stack_init(netstackid_t stackid, netstack_t *ns) argument
351 spdsock_stack_shutdown(netstackid_t stackid, void *arg) argument
363 spdsock_stack_fini(netstackid_t stackid, void *arg) argument
H A Dicmp.c147 static void *rawip_stack_init(netstackid_t stackid, netstack_t *ns);
148 static void rawip_stack_fini(netstackid_t stackid, void *arg);
150 static void *rawip_kstat_init(netstackid_t stackid);
151 static void rawip_kstat_fini(netstackid_t stackid, kstat_t *ksp);
153 static void rawip_stack_shutdown(netstackid_t stackid, void *arg);
5000 rawip_stack_init(netstackid_t stackid, netstack_t *ns) argument
5014 is->is_ksp = rawip_kstat_init(stackid);
5026 rawip_stack_fini(netstackid_t stackid, void *arg) argument
5033 rawip_kstat_fini(stackid, is->is_ksp);
5040 rawip_kstat_init(netstackid_t stackid) argument
5066 rawip_kstat_fini(netstackid_t stackid, kstat_t *ksp) argument
5078 netstackid_t stackid = (netstackid_t)(uintptr_t)ksp->ks_private; local
[all...]
H A Dipsecesp.c112 static void *ipsecesp_stack_init(netstackid_t stackid, netstack_t *ns);
113 static void ipsecesp_stack_fini(netstackid_t stackid, void *arg);
164 esp_kstat_init(ipsecesp_stack_t *espstack, netstackid_t stackid) argument
168 sizeof (esp_kstats_t) / sizeof (kstat_named_t), 0, stackid);
176 espstack->esp_ksp->ks_private = (void *)(uintptr_t)stackid;
211 netstackid_t stackid; local
221 stackid = (zoneid_t)(uintptr_t)kp->ks_private;
222 ns = netstack_find_by_stackid(stackid);
442 ipsecesp_stack_init(netstackid_t stackid, netstack_t *ns) argument
458 (void) esp_kstat_init(espstack, stackid);
485 ipsecesp_stack_fini(netstackid_t stackid, void *arg) argument
2060 netstackid_t stackid; local
[all...]
H A Dip6.c4735 *ip6_kstat_init(netstackid_t stackid, ip6_stat_t *ip6_statisticsp) argument
4759 KSTAT_FLAG_VIRTUAL, stackid);
4766 ksp->ks_private = (void *)(uintptr_t)stackid;
4773 ip6_kstat_fini(netstackid_t stackid, kstat_t *ksp) argument
4776 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private);
4777 kstat_delete_netstack(ksp, stackid);
H A Dip.c724 static void *ip_stack_init(netstackid_t stackid, netstack_t *ns);
725 static void ip_stack_shutdown(netstackid_t stackid, void *arg);
726 static void ip_stack_fini(netstackid_t stackid, void *arg);
4338 ip_stack_shutdown(netstackid_t stackid, void *arg) argument
4344 printf("ip_stack_shutdown(%p, stack %d)\n", (void *)ipst, stackid);
4380 ip_stack_fini(netstackid_t stackid, void *arg) argument
4386 printf("ip_stack_fini(%p, stack %d)\n", (void *)ipst, stackid);
4401 ip_kstat_fini(stackid, ipst->ips_ip_mibkp);
4403 icmp_kstat_fini(stackid, ipst->ips_icmp_mibkp);
4405 ip_kstat2_fini(stackid, ips
4606 ip_stack_init(netstackid_t stackid, netstack_t *ns) argument
13830 ip_cgtp_filter_register(netstackid_t stackid, cgtp_filter_ops_t *ops) argument
13863 ip_cgtp_filter_unregister(netstackid_t stackid) argument
13897 ip_cgtp_filter_is_registered(netstackid_t stackid) argument
13939 ip_kstat2_init(netstackid_t stackid, ip_stat_t *ip_statisticsp) argument
14004 ip_kstat2_fini(netstackid_t stackid, kstat_t *ksp) argument
14013 ip_kstat_init(netstackid_t stackid, ip_stack_t *ipst) argument
14083 ip_kstat_fini(netstackid_t stackid, kstat_t *ksp) argument
14098 netstackid_t stackid = (zoneid_t)(uintptr_t)kp->ks_private; local
14168 icmp_kstat_init(netstackid_t stackid) argument
14223 icmp_kstat_fini(netstackid_t stackid, kstat_t *ksp) argument
14235 netstackid_t stackid = (zoneid_t)(uintptr_t)kp->ks_private; local
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_snmp.c63 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; local
74 ns = netstack_find_by_stackid(stackid);
86 if (stackid != GLOBAL_NETSTACKID)
266 sctp_kstat_init(netstackid_t stackid) argument
314 KSTAT_TYPE_NAMED, NUM_OF_FIELDS(sctp_named_kstat_t), 0, stackid);
325 ksp->ks_private = (void *)(uintptr_t)stackid;
414 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; local
424 ns = netstack_find_by_stackid(stackid);
456 sctp_kstat2_init(netstackid_t stackid) argument
492 KSTAT_TYPE_NAMED, NUM_OF_FIELDS(template), 0, stackid);
506 sctp_kstat_fini(netstackid_t stackid, kstat_t *ksp) argument
515 sctp_kstat2_fini(netstackid_t stackid, kstat_t *ksp) argument
[all...]
H A Dsctp.c91 static void *sctp_stack_init(netstackid_t stackid, netstack_t *ns);
92 static void sctp_stack_fini(netstackid_t stackid, void *arg);
1526 sctp_stack_init(netstackid_t stackid, netstack_t *ns) argument
1558 sctps->sctps_mibkp = sctp_kstat_init(stackid);
1559 sctps->sctps_kstat = sctp_kstat2_init(stackid);
1609 sctp_stack_fini(netstackid_t stackid, void *arg) argument
1648 sctp_kstat_fini(stackid, sctps->sctps_mibkp);
1650 sctp_kstat2_fini(stackid, sctps->sctps_kstat);
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_stats.c511 tcp_kstat_init(netstackid_t stackid) argument
571 ksp = kstat_create_netstack(TCP_MOD_NAME, stackid, TCP_MOD_NAME, "mib2",
572 KSTAT_TYPE_NAMED, NUM_OF_FIELDS(tcp_named_kstat_t), 0, stackid);
582 ksp->ks_private = (void *)(uintptr_t)stackid;
588 if (stackid != GLOBAL_NETSTACKID)
596 tcp_kstat_fini(netstackid_t stackid, kstat_t *ksp) argument
599 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private);
600 kstat_delete_netstack(ksp, stackid);
612 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; local
621 ns = netstack_find_by_stackid(stackid);
750 tcp_kstat2_init(netstackid_t stackid) argument
829 tcp_kstat2_fini(netstackid_t stackid, kstat_t *ksp) argument
843 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; local
[all...]
H A Dtcp.c293 static void *tcp_stack_init(netstackid_t stackid, netstack_t *ns);
294 static void tcp_stack_fini(netstackid_t stackid, void *arg);
3726 tcp_stack_init(netstackid_t stackid, netstack_t *ns) argument
3790 tcps->tcps_kstat = tcp_kstat2_init(stackid);
3791 tcps->tcps_mibkp = tcp_kstat_init(stackid);
3860 tcp_stack_fini(netstackid_t stackid, void *arg) argument
3914 tcp_kstat2_fini(stackid, tcps->tcps_kstat);
3917 tcp_kstat_fini(stackid, tcps->tcps_mibkp);
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_stats.c439 udp_kstat_fini(netstackid_t stackid, kstat_t *ksp) argument
442 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private);
443 kstat_delete_netstack(ksp, stackid);
462 udp_kstat2_init(netstackid_t stackid) argument
485 0, stackid);
492 ksp->ks_private = (void *)(uintptr_t)stackid;
499 udp_kstat2_fini(netstackid_t stackid, kstat_t *ksp) argument
502 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private);
503 kstat_delete_netstack(ksp, stackid);
556 netstackid_t stackid local
585 udp_kstat_init(netstackid_t stackid) argument
635 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; local
[all...]
H A Dudp.c184 static void *udp_stack_init(netstackid_t stackid, netstack_t *ns);
185 static void udp_stack_fini(netstackid_t stackid, void *arg);
4366 udp_stack_init(netstackid_t stackid, netstack_t *ns) argument
4422 us->us_kstat = udp_kstat2_init(stackid);
4423 us->us_mibkp = udp_kstat_init(stackid);
4435 udp_stack_fini(netstackid_t stackid, void *arg) argument
4457 udp_kstat_fini(stackid, us->us_mibkp);
4460 udp_kstat2_fini(stackid, us->us_kstat);
/illumos-gate/usr/src/uts/common/os/
H A Dnetstack.c327 netstackid_t stackid; local
339 stackid = zoneid;
342 stackid = GLOBAL_NETSTACKID;
352 if ((*nsp)->netstack_stackid == stackid) {
356 VERIFY(stackid == GLOBAL_NETSTACKID);
693 netstackid_t stackid; local
713 stackid = ns->netstack_stackid;
715 netstackid_t, stackid,
717 result = (ns_reg[moduleid].nr_create)(stackid, ns);
752 netstackid_t stackid; local
811 netstackid_t stackid; local
1020 netstack_find_by_stackid(netstackid_t stackid) argument
1042 netstack_inuse_by_stackid(netstackid_t stackid) argument
1376 netstackid_to_zoneid(netstackid_t stackid) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb.c177 ilb_kstat_g_init(netstackid_t stackid, ilb_stack_t *ilbs) argument
188 KSTAT_FLAG_VIRTUAL, stackid);
193 ksp->ks_private = (void *)(uintptr_t)stackid;
200 ilb_kstat_g_fini(netstackid_t stackid, ilb_stack_t *ilbs) argument
203 ASSERT(stackid == (netstackid_t)(uintptr_t)
205 kstat_delete_netstack(ilbs->ilbs_ksp, stackid);
211 ilb_rule_kstat_init(netstackid_t stackid, ilb_rule_t *rule) argument
232 NUM_OF_FIELDS(ilb_rule_kstat_t), KSTAT_FLAG_VIRTUAL, stackid);
238 ksp->ks_private = (void *)(uintptr_t)stackid;
245 ilb_server_kstat_init(netstackid_t stackid, ilb_rule_ argument
520 netstackid_t stackid; local
759 netstackid_t stackid; local
1214 netstackid_t stackid; local
2050 ilb_stack_init(netstackid_t stackid, netstack_t *ns) argument
2114 ilb_stack_shutdown(netstackid_t stackid, void *arg) argument
2135 ilb_stack_fini(netstackid_t stackid, void * arg) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ipnet/
H A Dipnet.c1700 ipnet_stack_init(netstackid_t stackid, netstack_t *ns) argument
1723 ipnet_stack_fini(netstackid_t stackid, void *arg) argument
1731 zoneid = netstackid_to_zoneid(stackid);
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c159 dls_stack_init(netstackid_t stackid, netstack_t *ns) argument
164 dlss->dlss_zoneid = netstackid_to_zoneid(stackid);
170 dls_stack_shutdown(netstackid_t stackid, void *arg) argument
180 dls_stack_fini(netstackid_t stackid, void *arg) argument

Completed in 186 milliseconds

12