Lines Matching refs:ipst

77     ip_stack_t *ipst);
96 ill_lookup_group_v6(const in6_addr_t *group, zoneid_t zoneid, ip_stack_t *ipst, in ill_lookup_group_v6() argument
101 ill = ire_lookup_multi_ill_v6(group, zoneid, ipst, multirtp, setsrcp); in ill_lookup_group_v6()
105 return (ill_lookup_multicast(ipst, zoneid, B_TRUE)); in ill_lookup_group_v6()
114 ip_stack_t *ipst) in ipif_lookup_interface_v6() argument
126 rw_enter(&ipst->ips_ill_g_lock, RW_READER); in ipif_lookup_interface_v6()
127 ill = ILL_START_WALK_V6(&ctx, ipst); in ipif_lookup_interface_v6()
141 rw_exit(&ipst->ips_ill_g_lock); in ipif_lookup_interface_v6()
148 rw_exit(&ipst->ips_ill_g_lock); in ipif_lookup_interface_v6()
150 ipif = ipif_lookup_addr_v6(if_addr, NULL, ALL_ZONES, ipst); in ipif_lookup_interface_v6()
160 uint32_t match_flags, zoneid_t zoneid, ip_stack_t *ipst) in ipif_lookup_addr_common_v6() argument
169 rw_enter(&ipst->ips_ill_g_lock, RW_READER); in ipif_lookup_addr_common_v6()
175 ill = ILL_START_WALK_V6(&ctx, ipst); in ipif_lookup_addr_common_v6()
204 rw_exit(&ipst->ips_ill_g_lock); in ipif_lookup_addr_common_v6()
214 rw_exit(&ipst->ips_ill_g_lock); in ipif_lookup_addr_common_v6()
230 ip_stack_t *ipst) in ipif_lookup_addr_v6() argument
233 zoneid, ipst)); in ipif_lookup_addr_v6()
243 zoneid_t zoneid, ip_stack_t *ipst) in ipif_lookup_addr_nondup_v6() argument
247 ipst)); in ipif_lookup_addr_nondup_v6()
257 ip_stack_t *ipst) in ipif_lookup_addr_exact_v6() argument
261 ipst)); in ipif_lookup_addr_exact_v6()
275 ip_stack_t *ipst) in ipif_lookup_addr_zoneid_v6() argument
283 rw_enter(&ipst->ips_ill_g_lock, RW_READER); in ipif_lookup_addr_zoneid_v6()
289 ill = ILL_START_WALK_V6(&ctx, ipst); in ipif_lookup_addr_zoneid_v6()
308 rw_exit(&ipst->ips_ill_g_lock); in ipif_lookup_addr_zoneid_v6()
324 rw_exit(&ipst->ips_ill_g_lock); in ipif_lookup_addr_zoneid_v6()
395 ill_t *ill, ire_t **ire_arg, struct rtsa_s *sp, ip_stack_t *ipst, in ip_rt_add_v6() argument
433 ipif = ipif_lookup_addr_v6(gw_addr, ill, ALL_ZONES, ipst); in ip_rt_add_v6()
435 ipif = ipif_lookup_interface_v6(gw_addr, dst_addr, ipst); in ip_rt_add_v6()
455 NULL, ALL_ZONES, NULL, MATCH_IRE_TYPE, 0, ipst, in ip_rt_add_v6()
475 ipst); in ip_rt_add_v6()
608 IRE_INTERFACE, ill, ALL_ZONES, NULL, match_flags, 0, ipst, in ip_rt_add_v6()
652 ipst); in ip_rt_add_v6()
705 ALL_ZONES, NULL, match_flags, 0, ipst, NULL); in ip_rt_add_v6()
730 if (ipst->ips_ipv6_strict_src_multihoming > 0) in ip_rt_add_v6()
752 match_flags | MATCH_IRE_MASK | MATCH_IRE_GW, 0, ipst, NULL); in ip_rt_add_v6()
806 ipst); in ip_rt_add_v6()
873 if (ipst->ips_ip_cgtp_filter_ops != NULL && in ip_rt_add_v6()
880 &gw_ire->ire_gateway_addr_v6, NULL, zoneid, ipst); in ip_rt_add_v6()
882 res = ipst->ips_ip_cgtp_filter_ops-> in ip_rt_add_v6()
884 ipst->ips_netstack->netstack_stackid, in ip_rt_add_v6()
946 ip_stack_t *ipst, zoneid_t zoneid) in ip_rt_delete_v6() argument
984 ipif = ipif_lookup_interface_v6(gw_addr, dst_addr, ipst); in ip_rt_delete_v6()
997 match_flags, 0, ipst, NULL); in ip_rt_delete_v6()
1003 match_flags, 0, ipst, NULL); in ip_rt_delete_v6()
1035 ill, ALL_ZONES, NULL, match_flags, 0, ipst, NULL); in ip_rt_delete_v6()
1052 if (ipst->ips_ip_cgtp_filter_ops != NULL) { in ip_rt_delete_v6()
1053 err = ipst->ips_ip_cgtp_filter_ops->cfo_del_dest_v6( in ip_rt_delete_v6()
1054 ipst->ips_netstack->netstack_stackid, in ip_rt_delete_v6()
1511 rule_isdst(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) in rule_isdst() argument
1538 rule_scope(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) in rule_scope() argument
1569 ip_stack_t *ipst) in rule_deprecated() argument
1598 ip_stack_t *ipst) in rule_preferred() argument
1622 ip_stack_t *ipst) in rule_interface() argument
1653 rule_label(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) in rule_label() argument
1658 label = ip6_asp_lookup(&bc->cand_srcaddr, NULL, ipst); in rule_label()
1664 label = ip6_asp_lookup(&cc->cand_srcaddr, NULL, ipst); in rule_label()
1684 ip_stack_t *ipst) in rule_temporary() argument
1713 ip_stack_t *ipst) in rule_ifprefix() argument
1758 ip_stack_t *ipst) in rule_zone_specific() argument
1783 ip_stack_t *ipst) in rule_addr_type() argument
1807 rule_prefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) in rule_prefix() argument
1834 ip_stack_t *ipst) in rule_must_be_last() argument
1881 ip_stack_t *ipst = dstill->ill_ipst; in ipif_select_source_v6() local
1917 ipst)) != NULL) { in ipif_select_source_v6()
1958 dstinfo.dst_label = ip6_asp_lookup(dst, NULL, ipst); in ipif_select_source_v6()
1960 rw_enter(&ipst->ips_ill_g_lock, RW_READER); in ipif_select_source_v6()
1970 ipst->ips_ipv6_strict_dst_multihoming || usesrc_ill != NULL) { in ipif_select_source_v6()
1985 ill = ILL_START_WALK_V6(&ctx, ipst); in ipif_select_source_v6()
2080 &dstinfo, ipst); in ipif_select_source_v6()
2150 rw_exit(&ipst->ips_ill_g_lock); in ipif_select_source_v6()
2158 rw_exit(&ipst->ips_ill_g_lock); in ipif_select_source_v6()
2162 rw_exit(&ipst->ips_ill_g_lock); in ipif_select_source_v6()
2197 zoneid_t zoneid, ip_stack_t *ipst, uint_t restrict_ill, uint32_t src_prefs, in ip_select_source_v6() argument
2214 *generation = ipst->ips_src_generation; in ip_select_source_v6()
2525 ip_stack_t *ipst = ill->ill_ipst; in ipif_add_ires_v6() local
2559 ipif->ipif_zoneid, ipst); in ipif_add_ires_v6()
2583 ipst); in ipif_add_ires_v6()
2618 ipst); in ipif_add_ires_v6()
2631 rw_enter(&ipst->ips_ill_g_lock, RW_READER); in ipif_add_ires_v6()
2632 mutex_enter(&ipst->ips_ip_addr_avail_lock); in ipif_add_ires_v6()
2636 mutex_exit(&ipst->ips_ip_addr_avail_lock); in ipif_add_ires_v6()
2637 rw_exit(&ipst->ips_ill_g_lock); in ipif_add_ires_v6()
2685 rw_enter(&ipst->ips_ill_g_lock, RW_WRITER); in ipif_add_ires_v6()
2690 rw_exit(&ipst->ips_ill_g_lock); in ipif_add_ires_v6()
2708 rw_enter(&ipst->ips_ill_g_lock, RW_WRITER); in ipif_add_ires_v6()
2713 rw_exit(&ipst->ips_ill_g_lock); in ipif_add_ires_v6()
2722 (void) ip_srcid_remove(&ipif->ipif_v6lcl_addr, ipif->ipif_zoneid, ipst); in ipif_add_ires_v6()
2732 ip_stack_t *ipst = ill->ill_ipst; in ipif_delete_ires_v6() local
2735 rw_enter(&ipst->ips_ill_g_lock, RW_WRITER); in ipif_delete_ires_v6()
2738 rw_exit(&ipst->ips_ill_g_lock); in ipif_delete_ires_v6()
2749 rw_enter(&ipst->ips_ill_g_lock, RW_WRITER); in ipif_delete_ires_v6()
2752 rw_exit(&ipst->ips_ill_g_lock); in ipif_delete_ires_v6()