Lines Matching refs:dce

674 	dce_t		*dce;  in icmp_inbound_too_big_v6()  local
691 dce = dce_lookup_and_add_v6(&final_dst, in icmp_inbound_too_big_v6()
694 dce = dce_lookup_and_add_v6(&final_dst, 0, ipst); in icmp_inbound_too_big_v6()
696 if (dce == NULL) { in icmp_inbound_too_big_v6()
709 mutex_enter(&dce->dce_lock); in icmp_inbound_too_big_v6()
710 if (dce->dce_flags & DCEF_PMTU) in icmp_inbound_too_big_v6()
711 old_max_frag = dce->dce_pmtu; in icmp_inbound_too_big_v6()
726 dce->dce_flags |= DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v6()
728 dce->dce_flags &= ~DCEF_TOO_SMALL_PMTU; in icmp_inbound_too_big_v6()
731 dce->dce_pmtu = MIN(old_max_frag, mtu); in icmp_inbound_too_big_v6()
734 if (dce->dce_flags & DCEF_TOO_SMALL_PMTU) { in icmp_inbound_too_big_v6()
741 icmp6->icmp6_mtu = htonl(dce->dce_pmtu - sizeof (ip6_frag_t)); in icmp_inbound_too_big_v6()
743 icmp6->icmp6_mtu = htonl(dce->dce_pmtu); in icmp_inbound_too_big_v6()
746 dce->dce_flags |= DCEF_PMTU; in icmp_inbound_too_big_v6()
747 dce->dce_last_change_time = TICK_TO_SEC(ddi_get_lbolt64()); in icmp_inbound_too_big_v6()
748 mutex_exit(&dce->dce_lock); in icmp_inbound_too_big_v6()
754 dce_increment_generation(dce); in icmp_inbound_too_big_v6()
755 dce_refrele(dce); in icmp_inbound_too_big_v6()
1976 dce_t *dce; in ip_set_destination_v6() local
2093 dce = dce_lookup_and_add_v6(dst_addr, ifindex, ipst); in ip_set_destination_v6()
2094 if (dce != NULL) { in ip_set_destination_v6()
2095 generation = dce->dce_generation; in ip_set_destination_v6()
2097 dce = dce_lookup_v6(dst_addr, ifindex, ipst, in ip_set_destination_v6()
2101 dce = dce_lookup_v6(dst_addr, ifindex, ipst, &generation); in ip_set_destination_v6()
2103 ASSERT(dce != NULL); in ip_set_destination_v6()
2107 dce_refhold_notr(dce); in ip_set_destination_v6()
2108 dce_refrele(dce); in ip_set_destination_v6()
2110 ixa->ixa_dce = dce; in ip_set_destination_v6()
2245 if (dce->dce_flags & DCEF_UINFO) in ip_set_destination_v6()
2246 *uinfo = dce->dce_uinfo; in ip_set_destination_v6()