Lines Matching refs:nmp

2000 	mblk_t *nmp;  in gld_start()  local
2119 nmp = dupmsg_noloan(mp); in gld_start()
2121 nmp = dupmsg(mp); in gld_start()
2123 nmp = NULL; /* we need no loopback */ in gld_start()
2128 if (nmp) in gld_start()
2129 freemsg(nmp); /* free the duped message */ in gld_start()
2159 if (nmp) in gld_start()
2160 freemsg(nmp); /* free the dupped message */ in gld_start()
2172 if (nmp) { in gld_start()
2174 gld_precv(macinfo, nmp, vtag, stats); in gld_start()
2488 mblk_t *nmp; in gld_sendup_vlan() local
2556 nmp = dupmsg(mp); in gld_sendup_vlan()
2557 if (nmp == NULL) { in gld_sendup_vlan()
2570 gld_passon(gld, nmp, pktinfo, send); in gld_sendup_vlan()
2927 mblk_t *nmp; in gld_addudind() local
2944 if ((nmp = allocb(size, BPRI_MED)) == NULL) { in gld_addudind()
2954 DB_TYPE(nmp) = M_PROTO; in gld_addudind()
2955 nmp->b_rptr = nmp->b_datap->db_lim - size; in gld_addudind()
2968 dludindp = (dl_unitdata_ind_t *)nmp->b_rptr; in gld_addudind()
2980 nmp->b_wptr = nmp->b_rptr + dludindp->dl_dest_addr_offset; in gld_addudind()
2982 mac_copy(pktinfo->dhost, nmp->b_wptr, macinfo->gldm_addrlen); in gld_addudind()
2983 nmp->b_wptr += macinfo->gldm_addrlen; in gld_addudind()
2986 *(ushort_t *)(nmp->b_wptr) = type; in gld_addudind()
2987 nmp->b_wptr += abs(macinfo->gldm_saplen); in gld_addudind()
2989 ASSERT(nmp->b_wptr == nmp->b_rptr + dludindp->dl_src_addr_offset); in gld_addudind()
2991 mac_copy(pktinfo->shost, nmp->b_wptr, macinfo->gldm_addrlen); in gld_addudind()
2992 nmp->b_wptr += macinfo->gldm_addrlen; in gld_addudind()
2994 *(ushort_t *)(nmp->b_wptr) = type; in gld_addudind()
2995 nmp->b_wptr += abs(macinfo->gldm_saplen); in gld_addudind()
2999 linkb(nmp, mp); in gld_addudind()
3000 return (nmp); in gld_addudind()
3176 mblk_t *nmp; in gld_fastpath() local
3222 if ((nmp = (*ifp->mkfastpath)(gld, mp)) == NULL) { in gld_fastpath()
3230 linkb(mp, nmp); in gld_fastpath()
3529 mblk_t *nmp; in gld_notify_qs() local
3555 if ((nmp = dupmsg(mp)) == NULL) in gld_notify_qs()
3562 qreply(WR(gld->gld_qptr), nmp); in gld_notify_qs()
4206 mblk_t *nmp; in gld_unitdata() local
4264 if ((nmp = (*ifp->mkunitdata)(gld, mp)) == NULL) { in gld_unitdata()
4275 mac_hcksum_set(nmp, start, stuff, end, value, flags); in gld_unitdata()
4277 GLD_CLEAR_MBLK_VTAG(nmp); in gld_unitdata()
4278 if (gld_start(q, nmp, GLD_WSRV, upri) == GLD_NORESOURCES) { in gld_unitdata()