Lines Matching refs:ipst

72     ip_stack_t *ipst);
82 zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst)
93 BUMP_IRE_STATS(ipst->ips_ire_stats_v6, ire_stats_alloced);
128 gc, ipst);
183 uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst)
198 type, ill, zoneid, flags, gc, ipst);
228 ip_stack_t *ipst, boolean_t *multirtp, in6_addr_t *setsrcp)
234 MATCH_IRE_DSTONLY, IRR_NONE, 0, ipst, setsrcp, NULL, NULL);
316 ip_stack_t *ipst = ire->ire_ipst;
324 if ((ipst->ips_ip_forwarding_table_v6[mask_table_index]) == NULL) {
328 ptr = (irb_t *)mi_zalloc((ipst->ips_ip6_ftable_hash_size *
334 for (i = 0; i < ipst->ips_ip6_ftable_hash_size; i++) {
336 ptr[i].irb_ipst = ipst;
338 mutex_enter(&ipst->ips_ire_ft_init_lock);
339 if (ipst->ips_ip_forwarding_table_v6[mask_table_index] ==
341 ipst->ips_ip_forwarding_table_v6[mask_table_index] =
343 mutex_exit(&ipst->ips_ire_ft_init_lock);
350 mutex_exit(&ipst->ips_ire_ft_init_lock);
351 for (i = 0; i < ipst->ips_ip6_ftable_hash_size; i++) {
357 irb_ptr = &(ipst->ips_ip_forwarding_table_v6[mask_table_index][
359 ipst->ips_ip6_ftable_hash_size)]);
481 BUMP_IRE_STATS(ipst->ips_ire_stats_v6, ire_stats_inserted);
505 ire_delete_host_redirects_v6(const in6_addr_t *gateway, ip_stack_t *ipst)
514 irb_ptr = ipst->ips_ip_forwarding_table_v6[(IP6_MASK_TABLE_SIZE - 1)];
517 for (i = 0; (i < ipst->ips_ip6_ftable_hash_size); i++) {
545 ip_stack_t *ipst = ire->ire_ipst;
553 rw_enter(&ipst->ips_ip6_ire_head_lock, RW_WRITER);
554 rw_exit(&ipst->ips_ip6_ire_head_lock);
570 ire_delete_host_redirects_v6(&gw_addr_v6, ipst);
582 rw_enter(&ipst->ips_ire_dep_lock, RW_WRITER);
588 rw_exit(&ipst->ips_ire_dep_lock);
602 ip_stack_t *ipst = ire->ire_ipst;
618 rw_enter(&ipst->ips_ip6_ire_head_lock, RW_WRITER);
626 ire_increment_generation(ipst->ips_ire_reject_v6);
627 ire_increment_generation(ipst->ips_ire_blackhole_v6);
632 rw_exit(&ipst->ips_ip6_ire_head_lock);
648 ip_stack_t *ipst = ire->ire_ipst;
661 ALL_ZONES, NULL, MATCH_IRE_SHORTERMASK, ipst);
671 NULL, ALL_ZONES, NULL, MATCH_IRE_SHORTERMASK, ipst);
676 rw_exit(&ipst->ips_ip6_ire_head_lock);
693 ip_stack_t *ipst = ire->ire_ipst;
773 zoneid, ipst)) {
879 const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held)
885 ASSERT(RW_READ_HELD(&ipst->ips_ip6_ire_head_lock));
887 rw_enter(&ipst->ips_ip6_ire_head_lock, RW_READER);
895 ipst);
898 rw_exit(&ipst->ips_ip6_ire_head_lock);
919 uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp)
937 rw_enter(&ipst->ips_ip6_ire_head_lock, RW_READER);
939 tsl, flags, ipst);
941 rw_exit(&ipst->ips_ip6_ire_head_lock);
957 if (ipst->ips_ip_ecmp_behavior == 2 ||
958 (ipst->ips_ip_ecmp_behavior == 1 &&
976 xmit_hint, ire, ipst);
991 rw_exit(&ipst->ips_ip6_ire_head_lock);
1006 ipst->ips_ip_restrict_interzone_loopback) {
1021 ip_stack_t *ipst)
1027 ASSERT(RW_LOCK_HELD(&ipst->ips_ip6_ire_head_lock));
1038 if (ipst->ips_ip_forwarding_table_v6[masklen] == NULL) {
1041 irb_ptr = &(ipst->ips_ip_forwarding_table_v6[masklen][
1043 ipst->ips_ip6_ftable_hash_size)]);
1075 if ((ipst->ips_ip_forwarding_table_v6[i]) == NULL)
1078 irb_ptr = &ipst->ips_ip_forwarding_table_v6[i][
1080 ipst->ips_ip6_ftable_hash_size)];
1119 ip_stack_t *ipst, uint_t *generationp)
1124 MATCH_IRE_DSTONLY, xmit_hint, ipst, generationp);
1126 ire = ire_reject(ipst, B_TRUE);
1167 uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst,
1196 match_args, xmit_hint, ipst, &generation);
1211 ire = ire_reject(ipst, B_TRUE);
1328 ire = ire_blackhole(ipst, B_TRUE);
1371 ire = ire_reject(ipst, B_TRUE);
1409 ire = ire_blackhole(ipst, B_TRUE);
1455 uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst,
1459 zoneid, tsl, match_args, irr_flags, xmit_hint, ipst, setsrcp,
1477 uint32_t xmit_hint, ip_stack_t *ipst)
1484 ire = ire_ftable_lookup_simple_v6(nexthop, xmit_hint, ipst,
1517 NULL, MATCH_IRE_DSTONLY, irr_flags, xmit_hint, ipst, NULL, NULL,