Lines Matching defs:nce

139 	nce_t		*nce;
226 nce = ixa->ixa_nce;
227 if (nce->nce_is_condemned) {
250 ip_drop_output("ipIfStatsOutDiscards - verify nce",
267 nce = ixa->ixa_nce;
271 * the new nce condemned. We catch that next time we
324 ill = nce->nce_ill;
448 nce_t *nce;
485 * Don't look for an nce for reject or blackhole.
496 nce = ire_to_nce_pkt(ire, mp);
497 if (nce == NULL) {
499 * Allocation failure. Make sure we redo ire/nce selection
506 if (nce == ixa->ixa_nce) {
508 nce_refrele(nce);
521 ixa->ixa_nce = nce;
532 nce_t *nce;
542 nce = ire_handle_condemned_nce(ixa->ixa_nce, ire, ipha, ip6h, B_TRUE);
543 if (nce == NULL) {
553 if (!ip_verify_lso(nce->nce_ill, ixa)) {
569 if (!ip_verify_zcopy(nce->nce_ill, ixa)) {
586 ixa->ixa_nce = nce;
739 * the hold on the ire. Ditto for the nce and dce.
813 nce_t *nce;
867 nce = NULL;
877 nce = ire_to_nce(ire, ipha->ipha_dst, NULL);
878 if (nce == NULL) {
885 if (nce->nce_is_condemned) {
888 nce1 = ire_handle_condemned_nce(nce, ire, ipha, NULL, B_TRUE);
889 nce_refrele(nce);
899 ip_drop_output("No nce", mp, ill);
904 nce = nce1;
922 ixa->ixa_nce = nce;
931 ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
948 ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
952 fragsize = ip_get_base_mtu(nce->nce_ill, ire);
958 ixa->ixa_fragsize = ip_get_base_mtu(nce->nce_ill, ire);
1086 * No fragmentation, no nce, no application of IPsec,
1367 ip_drop_output("ipIfStatsOutDiscards - broadcast nce",
2051 ip_postfrag_loopback(mblk_t *mp, nce_t *nce, iaflags_t ixaflags,
2055 ill_t *ill = nce->nce_ill;
2059 ncec = nce->nce_common;
2131 ip_postfrag_loopcheck(mblk_t *mp, nce_t *nce, iaflags_t ixaflags,
2135 ill_t *ill = nce->nce_ill;
2152 ip_postfrag_loopback(mp1, nce, ixaflags, pkt_len,
2182 if (nce->nce_ill->ill_wq == NULL) {
2189 return (ip_xmit(mp, nce, ixaflags, pkt_len, xmit_hint, szone, 0,
2202 ip_postfrag_multirt_v4(mblk_t *mp, nce_t *nce, iaflags_t ixaflags,
2212 ill_t *ill = nce->nce_ill;
2234 ip_postfrag_loopback(mp1, nce, ixaflags, pkt_len,
2242 * Use the nce (nexthop) and ipha_dst to find the ire.
2247 if (V4_PART_OF_V6(nce->nce_addr) == ipha->ipha_dst) {
2252 ipaddr_t v4addr = V4_PART_OF_V6(nce->nce_addr);
2264 mp, nce->nce_ill);
2320 if (nce->nce_common->ncec_flags & NCE_F_BCAST) {
2323 } else if (nce->nce_common->ncec_flags & NCE_F_MCAST) {
2344 ip_drop_output("ipIfStatsOutDiscards - no nce",
2379 err = ip_xmit(mp, nce, ixaflags, pkt_len, xmit_hint, szone, 0,