Lines Matching defs:dce

1874 	dce_t		*dce;
1898 dce = dce_lookup_and_add_v4(dst, ipst);
1899 if (dce == NULL) {
1901 ip1dbg(("icmp_inbound_too_big_v4: no dce for 0x%x\n",
1911 mutex_enter(&dce->dce_lock);
1912 if (dce->dce_flags & DCEF_PMTU)
1913 old_mtu = dce->dce_pmtu;
1927 DTRACE_PROBE2(ip4__pmtu__guess, dce_t *, dce,
1936 ip1dbg(("Wrong mtu: sent %d, dce %d\n",
1961 dce->dce_flags |= DCEF_TOO_SMALL_PMTU;
1963 dce->dce_flags &= ~DCEF_TOO_SMALL_PMTU;
1965 dce->dce_pmtu = MIN(old_mtu, mtu);
1968 icmph->icmph_du_mtu = htons((uint16_t)dce->dce_pmtu);
1970 dce, int, orig_mtu, int, mtu);
1973 dce->dce_flags |= DCEF_PMTU;
1974 dce->dce_last_change_time = TICK_TO_SEC(ddi_get_lbolt64());
1975 mutex_exit(&dce->dce_lock);
1981 dce_increment_generation(dce);
1982 dce_refrele(dce);
3353 * routing lookup but the dce and label checks will be done on dst_addr,
3372 dce_t *dce;
3476 /* Fallback to the default dce if allocation fails */
3477 dce = dce_lookup_and_add_v4(dst_addr, ipst);
3478 if (dce != NULL)
3479 generation = dce->dce_generation;
3481 dce = dce_lookup_v4(dst_addr, ipst, &generation);
3483 dce = dce_lookup_v4(dst_addr, ipst, &generation);
3485 ASSERT(dce != NULL);
3489 dce_refhold_notr(dce);
3490 dce_refrele(dce);
3492 ixa->ixa_dce = dce;
3638 if (dce->dce_flags & DCEF_UINFO)
3639 *uinfo = dce->dce_uinfo;
3703 * Assumes that ixa_ire, dce, and nce have already been set up.
3710 * is no longer required since the dce is per final destination.
3716 dce_t *dce;
3722 dce = ixa->ixa_dce;
3746 if ((dce->dce_flags & DCEF_PMTU) &&
3747 TICK_TO_SEC(ddi_get_lbolt64()) - dce->dce_last_change_time >
3752 mutex_enter(&dce->dce_lock);
3753 dce->dce_flags &= ~(DCEF_PMTU|DCEF_TOO_SMALL_PMTU);
3754 dce->dce_last_change_time = TICK_TO_SEC(ddi_get_lbolt64());
3755 mutex_exit(&dce->dce_lock);
3756 dce_increment_generation(dce);
3770 if (dce->dce_flags & DCEF_PMTU) {
3771 if (dce->dce_pmtu < pmtu)
3772 pmtu = dce->dce_pmtu;
3774 if (dce->dce_flags & DCEF_TOO_SMALL_PMTU) {
3875 if ((dce->dce_flags & DCEF_TOO_SMALL_PMTU) ||
8546 * The dce and fragmentation code can cope with