/illumos-gate/usr/src/uts/common/sys/ |
H A D | netstack.h | 59 typedef id_t netstackid_t; typedef 194 netstackid_t netstack_stackid; 221 void *(*nr_create)(netstackid_t, netstack_t *); 222 void (*nr_shutdown)(netstackid_t, void *); 223 void (*nr_destroy)(netstackid_t, void *); 242 extern netstack_t *netstack_find_by_stackid(netstackid_t); 244 extern boolean_t netstack_inuse_by_stackid(netstackid_t stackid); 246 extern zoneid_t netstackid_to_zoneid(netstackid_t); 248 extern netstackid_t zoneid_to_netstackid(zoneid_t); 262 void *(*)(netstackid_t, netstack_t *), [all …]
|
H A D | hook_impl.h | 198 netstackid_t hks_netstackid; 235 extern int hook_stack_notify_register(netstackid_t, hook_notify_fn_t, void *); 236 extern int hook_stack_notify_unregister(netstackid_t, hook_notify_fn_t);
|
H A D | neti.h | 218 netstackid_t nts_stackid; 236 extern netstackid_t net_getnetstackidbynetid(netid_t); 237 extern netid_t net_getnetidbynetstackid(netstackid_t);
|
H A D | hook_event.h | 111 netstackid_t hnei_stackid;
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | tcp_cluster.h | 38 extern void (*cl_inet_listen)(netstackid_t, uint8_t, sa_family_t, uint8_t *, 40 extern void (*cl_inet_unlisten)(netstackid_t, uint8_t, sa_family_t, uint8_t *, 42 extern int (*cl_inet_connect2)(netstackid_t, uint8_t, boolean_t, sa_family_t, 44 extern void (*cl_inet_disconnect)(netstackid_t, uint8_t, sa_family_t, 53 extern int cl_tcp_walk_list(netstackid_t,
|
H A D | udp_impl.h | 252 extern void *udp_kstat_init(netstackid_t stackid); 253 extern void udp_kstat_fini(netstackid_t stackid, kstat_t *ksp); 254 extern void *udp_kstat2_init(netstackid_t stackid); 255 extern void udp_kstat2_fini(netstackid_t, kstat_t *);
|
H A D | tcp_stats.h | 272 extern void *tcp_kstat_init(netstackid_t); 273 extern void tcp_kstat_fini(netstackid_t, kstat_t *); 274 extern void *tcp_kstat2_init(netstackid_t); 275 extern void tcp_kstat2_fini(netstackid_t, kstat_t *);
|
H A D | ip.h | 3496 extern int (*cl_inet_isclusterwide)(netstackid_t stack_id, uint8_t protocol, 3498 extern uint32_t (*cl_inet_ipident)(netstackid_t stack_id, uint8_t protocol, 3501 extern int (*cl_inet_connect2)(netstackid_t stack_id, uint8_t protocol, 3504 extern void (*cl_inet_getspi)(netstackid_t, uint8_t, uint8_t *, size_t, 3506 extern void (*cl_inet_getspi)(netstackid_t stack_id, uint8_t protocol, 3508 extern int (*cl_inet_checkspi)(netstackid_t stack_id, uint8_t protocol, 3510 extern void (*cl_inet_deletespi)(netstackid_t stack_id, uint8_t protocol, 3512 extern void (*cl_inet_idlesa)(netstackid_t, uint8_t, uint32_t, 3530 int (*cfo_change_state)(netstackid_t, int); 3531 int (*cfo_add_dest_v4)(netstackid_t, ipaddr_t, ipaddr_t, [all …]
|
H A D | ip6.h | 283 extern void *ip6_kstat_init(netstackid_t, ip6_stat_t *); 284 extern void ip6_kstat_fini(netstackid_t, kstat_t *);
|
H A D | tcp.h | 578 extern void (*cl_inet_listen)(netstackid_t, uint8_t, sa_family_t, 580 extern void (*cl_inet_unlisten)(netstackid_t, uint8_t, sa_family_t,
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_cluster.c | 40 void (*cl_inet_listen)(netstackid_t stack_id, uint8_t protocol, 43 void (*cl_inet_unlisten)(netstackid_t stack_id, uint8_t protocol, 47 int (*cl_inet_connect2)(netstackid_t stack_id, uint8_t protocol, 53 void (*cl_inet_disconnect)(netstackid_t stack_id, uint8_t protocol, 71 cl_tcp_walk_list(netstackid_t stack_id, in cl_tcp_walk_list()
|
H A D | tcp_stats.c | 512 tcp_kstat_init(netstackid_t stackid) in tcp_kstat_init() 597 tcp_kstat_fini(netstackid_t stackid, kstat_t *ksp) in tcp_kstat_fini() 600 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private); in tcp_kstat_fini() 613 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; in tcp_kstat_update() 751 tcp_kstat2_init(netstackid_t stackid) in tcp_kstat2_init() 835 tcp_kstat2_fini(netstackid_t stackid, kstat_t *ksp) in tcp_kstat2_fini() 838 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private); in tcp_kstat2_fini() 849 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; in tcp_kstat2_update()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | netstack.c | 167 void *(*module_create)(netstackid_t, netstack_t *), in netstack_register() argument 168 void (*module_shutdown)(netstackid_t, void *), in netstack_register() argument 169 void (*module_destroy)(netstackid_t, void *)) in netstack_register() argument 327 netstackid_t stackid; in netstack_zone_create() 693 netstackid_t stackid; in netstack_apply_create() 715 netstackid_t, stackid, in netstack_apply_create() 752 netstackid_t stackid; in netstack_apply_shutdown() 776 netstackid_t, stackid, in netstack_apply_shutdown() 811 netstackid_t stackid; in netstack_apply_destroy() 835 netstackid_t, stackid, in netstack_apply_destroy() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_stack.c | 43 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); 96 neti_stack_init(netstackid_t stackid, netstack_t *ns) in neti_stack_init() 144 neti_stack_shutdown(netstackid_t stackid, void *arg) in neti_stack_shutdown() 212 neti_stack_fini(netstackid_t stackid, void *arg) in neti_stack_fini() 588 netstackid_t, nts->nts_id, in neti_stack_apply_create() 674 netstackid_t, nts->nts_id, in neti_stack_apply_shutdown() 743 netstackid_t, nts->nts_id, in neti_stack_apply_destroy() 832 netstackid_t [all …]
|
H A D | hook.c | 218 static void hook_int_free(hook_int_t *hi, netstackid_t); 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() 533 hook_stack_shutdown(netstackid_t stackid, void *arg) in hook_stack_shutdown() 561 hook_stack_fini(netstackid_t stackid, void *arg) in hook_stack_fini() 611 hook_stack_get(netstackid_t stackid) in hook_stack_get() 639 hook_stack_notify_register(netstackid_t stackid, hook_notify_fn_t callback, in hook_stack_notify_register() 706 hook_stack_notify_unregister(netstackid_t stackid, hook_notify_fn_t callback) in hook_stack_notify_unregister() [all …]
|
H A D | neti_impl.c | 612 netstackid_t stackid = net_getnetstackidbynetid(netid); in net_kstat_create() 624 netstackid_t stackid = net_getnetstackidbynetid(netid); in net_kstat_delete()
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp_stats.c | 439 udp_kstat_fini(netstackid_t stackid, kstat_t *ksp) in udp_kstat_fini() 442 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private); in udp_kstat_fini() 462 udp_kstat2_init(netstackid_t stackid) in udp_kstat2_init() 499 udp_kstat2_fini(netstackid_t stackid, kstat_t *ksp) in udp_kstat2_fini() 502 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private); in udp_kstat2_fini() 556 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; in udp_kstat2_update() 585 udp_kstat_init(netstackid_t stackid) in udp_kstat_init() 635 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; in udp_kstat_update()
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb.c | 122 static kstat_t *ilb_kstat_g_init(netstackid_t, ilb_stack_t *); 123 static void ilb_kstat_g_fini(netstackid_t, ilb_stack_t *); 124 static kstat_t *ilb_rule_kstat_init(netstackid_t, ilb_rule_t *); 125 static kstat_t *ilb_server_kstat_init(netstackid_t, ilb_rule_t *, 148 static void *ilb_stack_init(netstackid_t, netstack_t *); 149 static void ilb_stack_shutdown(netstackid_t, void *); 150 static void ilb_stack_fini(netstackid_t, void *); 177 ilb_kstat_g_init(netstackid_t stackid, ilb_stack_t *ilbs) in ilb_kstat_g_init() 200 ilb_kstat_g_fini(netstackid_t stackid, ilb_stack_t *ilbs) in ilb_kstat_g_fini() 203 ASSERT(stackid == (netstackid_t)(uintptr_t) in ilb_kstat_g_fini() [all …]
|
H A D | ilb_impl.h | 126 netstackid_t iser_stackid;
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun_dev.c | 70 iptun_stack_init(netstackid_t stackid, netstack_t *ns) in iptun_stack_init() 85 iptun_stack_shutdown(netstackid_t stackid, void *arg) in iptun_stack_shutdown() 104 iptun_stack_fini(netstackid_t stackid, void *arg) in iptun_stack_fini()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 63 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; in sctp_kstat_update() 266 sctp_kstat_init(netstackid_t stackid) in sctp_kstat_init() 414 netstackid_t stackid = (netstackid_t)(uintptr_t)kp->ks_private; in sctp_kstat2_update() 456 sctp_kstat2_init(netstackid_t stackid) in sctp_kstat2_init() 506 sctp_kstat_fini(netstackid_t stackid, kstat_t *ksp) in sctp_kstat_fini() 509 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private); in sctp_kstat_fini() 515 sctp_kstat2_fini(netstackid_t stackid, kstat_t *ksp) in sctp_kstat2_fini() 518 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private); in sctp_kstat2_fini()
|
H A D | sctp_impl.h | 1068 extern void *sctp_kstat_init(netstackid_t); 1069 extern void sctp_kstat_fini(netstackid_t, kstat_t *); 1070 extern void *sctp_kstat2_init(netstackid_t); 1071 extern void sctp_kstat2_fini(netstackid_t, kstat_t *);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | netstack.c | 127 netstackid_t nid = *(uintptr_t *)arg; in netstackid_lookup_cb()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | rts.c | 124 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) in rts_stack_init() 1279 rts_stack_fini(netstackid_t stackid, void *arg) in rts_stack_fini()
|
H A D | icmp.c | 148 static void *rawip_stack_init(netstackid_t stackid, netstack_t *ns); 149 static void rawip_stack_fini(netstackid_t stackid, void *arg); 151 static void *rawip_kstat_init(netstackid_t stackid); 152 static void rawip_kstat_fini(netstackid_t stackid, kstat_t *ksp); 154 static void rawip_stack_shutdown(netstackid_t stackid, void *arg); 5011 rawip_stack_init(netstackid_t stackid, netstack_t *ns) in rawip_stack_init() 5037 rawip_stack_fini(netstackid_t stackid, void *arg) in rawip_stack_fini() 5051 rawip_kstat_init(netstackid_t stackid) in rawip_kstat_init() 5077 rawip_kstat_fini(netstackid_t stackid, kstat_t *ksp) in rawip_kstat_fini() 5080 ASSERT(stackid == (netstackid_t)(uintptr_t)ksp->ks_private); in rawip_kstat_fini() [all …]
|