/illumos-gate/usr/src/uts/common/os/ |
H A D | netstack.c | 72 * Note that in some cases a netstack_t needs to stay around after the zone 74 * (from TCP TIME_WAIT connections, IPsec state, etc). The netstack_t data 80 * Thus the old netstack_t can take its time for things to time out. 82 static netstack_t *netstack_head; 113 typedef boolean_t applyfn_t(kmutex_t *, netstack_t *, int); 116 static void apply_all_modules(netstack_t *, applyfn_t *); 117 static void apply_all_modules_reverse(netstack_t *, applyfn_t *); 118 static boolean_t netstack_apply_create(kmutex_t *, netstack_t *, int); 119 static boolean_t netstack_apply_shutdown(kmutex_t *, netstack_t *, int); 120 static boolean_t netstack_apply_destroy(kmutex_t *, netstack_t *, in [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | netstack.h | 127 /* User-level compile like IP Filter needs a netstack_t. Dummy */ 139 * All the fields in netstack_t except netstack_next are protected by 202 typedef struct netstack netstack_t; typedef in typeref:struct:netstack 219 void *(*nr_create)(netstackid_t, netstack_t *); 236 extern void netstack_hold(netstack_t *); 237 extern void netstack_rele(netstack_t *); 238 extern netstack_t *netstack_find_by_cred(const cred_t *); 239 extern netstack_t *netstack_find_by_stackid(netstackid_t); 240 extern netstack_t *netstack_find_by_zoneid(zoneid_t); 244 extern zoneid_t netstack_get_zoneid(netstack_t *); [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ipsec_impl.h | 109 extern boolean_t keysock_extended_reg(netstack_t *); 110 extern uint32_t keysock_next_seq(netstack_t *); 413 netstack_t *ipsp_netstack; /* No netstack_hold */ 726 netstack_t *ipsec_netstack; /* Common netstack */ 849 netstack_t *); 854 ip6_t *, ip_recv_attr_t *, netstack_t *ns); 863 netstack_t *); 874 extern void ipsec_polhead_free(ipsec_policy_head_t *, netstack_t *); 876 netstack_t *); 878 extern ipsec_policy_head_t *ipsec_system_policy(netstack_t *); [all...] |
H A D | ip_netinfo.h | 40 extern void ip_net_init(ip_stack_t *, netstack_t *);
|
H A D | ipsecesp.h | 50 netstack_t *ipsecesp_netstack; /* Common netstack */
|
H A D | tunables.h | 92 typedef int mod_prop_setf_t(netstack_t *, cred_t *, mod_prop_info_t *, 94 typedef int mod_prop_getf_t(netstack_t *, mod_prop_info_t *, const char *, 166 extern int mod_set_buf_prop(mod_prop_info_t[], netstack_t *, 168 extern int mod_get_buf_prop(mod_prop_info_t[], netstack_t *,
|
H A D | keysock.h | 50 netstack_t *keystack_netstack; /* Common netstack */ 154 extern int keysock_plumb_ipsec(netstack_t *);
|
H A D | sadb.h | 315 netstack_t *ipsa_netstack; /* Does not have a netstack_hold */ 578 void (*s_acqfn)(ipsacq_t *, mblk_t *, netstack_t *); 733 void sadbp_init(const char *name, sadbp_t *, int, int, netstack_t *); 734 void sadbp_flush(sadbp_t *, netstack_t *); 735 void sadbp_destroy(sadbp_t *, netstack_t *); 750 int sadb_addrcheck(queue_t *, mblk_t *, sadb_ext_t *, uint_t, netstack_t *); 751 boolean_t sadb_addrfix(keysock_in_t *, queue_t *, mblk_t *, netstack_t *); 759 netstack_t *, sadbp_t *); 763 int *, queue_t *, int (*)(mblk_t *, keysock_in_t *, int *, netstack_t *), 764 netstack_t *, uint8_ [all...] |
H A D | tunables.c | 76 mod_set_boolean(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 101 mod_get_boolean(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 150 mod_set_uint32(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 167 mod_set_aligned(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 190 mod_get_uint32(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 238 mod_set_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack, cred_t *cr, 268 mod_get_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack, 289 mod_get_allprop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 346 mod_set_extra_privports(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 464 mod_get_extra_privports(netstack_t *stac [all...] |
H A D | rawip_impl.h | 51 netstack_t *is_netstack; /* Common netstack */
|
H A D | rts_impl.h | 59 netstack_t *rtss_netstack; /* Common netstack */
|
H A D | spdsock.h | 38 netstack_t *spds_netstack; /* Common netstack */
|
H A D | tcp_stack.h | 46 netstack_t *tcps_netstack; /* Common netstack */
|
H A D | ipnet.h | 161 netstack_t *ipnet_ns; /* netstack of zone we were opened in */ 197 netstack_t *ips_netstack;
|
H A D | ipsecah.h | 92 netstack_t *ipsecah_netstack; /* Common netstack */
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp_tunables.c | 34 udp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 42 udp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 55 udp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 73 udp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | netstack.c | 57 netstack_t nss; 62 if (mdb_vread(&nss, sizeof (netstack_t), wsp->walk_addr) == -1) { 81 netstack_t nss; 125 netstackid_lookup_cb(uintptr_t addr, const netstack_t *ns, void *arg)
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_stack.h | 48 netstack_t *ilbs_netstack;
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun_impl.h | 113 netstack_t *iptun_ns; 168 netstack_t *iptuns_netstack; /* Common netstack */ 187 extern int iptun_set_6to4relay(netstack_t *, ipaddr_t); 188 extern void iptun_get_6to4relay(netstack_t *, ipaddr_t *);
|
H A D | iptun_ctl.c | 71 netstack_t *ns = netstack_find_by_cred(cred); 85 netstack_t *ns = netstack_find_by_cred(cred);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_tunables.c | 46 sctp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo, 90 sctp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 139 sctp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 168 sctp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 176 sctp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_tunables.c | 46 tcp_set_1948phrase(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 65 tcp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo, 109 tcp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 158 tcp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 187 tcp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 195 tcp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 208 tcp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 226 tcp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
|
/illumos-gate/usr/src/cmd/mdb/common/modules/neti/ |
H A D | neti.c | 55 (uintptr_t)(addr + OFFSETOF(netstack_t, netstack_neti))) == -1) {
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_tunables.c | 49 ip_set_forwarding(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 99 ip_get_forwarding(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 161 ip_set_debug(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 183 ip_get_debug(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 213 ip_set_cgtp_filter(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 270 ip_get_mtu(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, 357 ip_set_src_multihoming(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 378 ip_set_hostmodel(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, 451 ip_get_hostmodel(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
|
H A D | ip_netinfo.c | 253 ip_net_init(ip_stack_t *ipst, netstack_t *ns) 670 netstack_t *ns; 683 netstack_t *ns; 732 netstack_t *ns; 745 netstack_t *ns; 758 netstack_t *ns; 771 netstack_t *ns; 784 netstack_t *ns; 819 netstack_t *ns; 833 netstack_t *n [all...] |