Lines Matching defs:dce

1871 	dce_t		*dce;
1895 dce = dce_lookup_and_add_v4(dst, ipst);
1896 if (dce == NULL) {
1898 ip1dbg(("icmp_inbound_too_big_v4: no dce for 0x%x\n",
1908 mutex_enter(&dce->dce_lock);
1909 if (dce->dce_flags & DCEF_PMTU)
1910 old_mtu = dce->dce_pmtu;
1924 DTRACE_PROBE2(ip4__pmtu__guess, dce_t *, dce,
1933 ip1dbg(("Wrong mtu: sent %d, dce %d\n",
1958 dce->dce_flags |= DCEF_TOO_SMALL_PMTU;
1960 dce->dce_flags &= ~DCEF_TOO_SMALL_PMTU;
1962 dce->dce_pmtu = MIN(old_mtu, mtu);
1965 icmph->icmph_du_mtu = htons((uint16_t)dce->dce_pmtu);
1967 dce, int, orig_mtu, int, mtu);
1970 dce->dce_flags |= DCEF_PMTU;
1971 dce->dce_last_change_time = TICK_TO_SEC(ddi_get_lbolt64());
1972 mutex_exit(&dce->dce_lock);
1978 dce_increment_generation(dce);
1979 dce_refrele(dce);
3350 * routing lookup but the dce and label checks will be done on dst_addr,
3369 dce_t *dce;
3473 /* Fallback to the default dce if allocation fails */
3474 dce = dce_lookup_and_add_v4(dst_addr, ipst);
3475 if (dce != NULL)
3476 generation = dce->dce_generation;
3478 dce = dce_lookup_v4(dst_addr, ipst, &generation);
3480 dce = dce_lookup_v4(dst_addr, ipst, &generation);
3482 ASSERT(dce != NULL);
3486 dce_refhold_notr(dce);
3487 dce_refrele(dce);
3489 ixa->ixa_dce = dce;
3635 if (dce->dce_flags & DCEF_UINFO)
3636 *uinfo = dce->dce_uinfo;
3700 * Assumes that ixa_ire, dce, and nce have already been set up.
3707 * is no longer required since the dce is per final destination.
3713 dce_t *dce;
3719 dce = ixa->ixa_dce;
3743 if ((dce->dce_flags & DCEF_PMTU) &&
3744 TICK_TO_SEC(ddi_get_lbolt64()) - dce->dce_last_change_time >
3749 mutex_enter(&dce->dce_lock);
3750 dce->dce_flags &= ~(DCEF_PMTU|DCEF_TOO_SMALL_PMTU);
3751 dce->dce_last_change_time = TICK_TO_SEC(ddi_get_lbolt64());
3752 mutex_exit(&dce->dce_lock);
3753 dce_increment_generation(dce);
3767 if (dce->dce_flags & DCEF_PMTU) {
3768 if (dce->dce_pmtu < pmtu)
3769 pmtu = dce->dce_pmtu;
3771 if (dce->dce_flags & DCEF_TOO_SMALL_PMTU) {
3872 if ((dce->dce_flags & DCEF_TOO_SMALL_PMTU) ||
8511 * The dce and fragmentation code can cope with