Lines Matching refs:nmp

2041 	mblk_t *nmp;
2160 nmp = dupmsg_noloan(mp);
2162 nmp = dupmsg(mp);
2164 nmp = NULL; /* we need no loopback */
2169 if (nmp)
2170 freemsg(nmp); /* free the duped message */
2200 if (nmp)
2201 freemsg(nmp); /* free the dupped message */
2213 if (nmp) {
2215 gld_precv(macinfo, nmp, vtag, stats);
2760 mblk_t *nmp;
2828 nmp = dupmsg(mp);
2829 if (nmp == NULL) {
2842 gld_passon(gld, nmp, pktinfo, send);
3199 mblk_t *nmp;
3216 if ((nmp = allocb(size, BPRI_MED)) == NULL) {
3226 DB_TYPE(nmp) = M_PROTO;
3227 nmp->b_rptr = nmp->b_datap->db_lim - size;
3240 dludindp = (dl_unitdata_ind_t *)nmp->b_rptr;
3252 nmp->b_wptr = nmp->b_rptr + dludindp->dl_dest_addr_offset;
3254 mac_copy(pktinfo->dhost, nmp->b_wptr, macinfo->gldm_addrlen);
3255 nmp->b_wptr += macinfo->gldm_addrlen;
3258 *(ushort_t *)(nmp->b_wptr) = type;
3259 nmp->b_wptr += abs(macinfo->gldm_saplen);
3261 ASSERT(nmp->b_wptr == nmp->b_rptr + dludindp->dl_src_addr_offset);
3263 mac_copy(pktinfo->shost, nmp->b_wptr, macinfo->gldm_addrlen);
3264 nmp->b_wptr += macinfo->gldm_addrlen;
3266 *(ushort_t *)(nmp->b_wptr) = type;
3267 nmp->b_wptr += abs(macinfo->gldm_saplen);
3271 linkb(nmp, mp);
3272 return (nmp);
3448 mblk_t *nmp;
3494 if ((nmp = (*ifp->mkfastpath)(gld, mp)) == NULL) {
3502 linkb(mp, nmp);
3822 mblk_t *nmp;
3848 if ((nmp = dupmsg(mp)) == NULL)
3855 qreply(WR(gld->gld_qptr), nmp);
4499 mblk_t *nmp;
4558 if ((nmp = (*ifp->mkunitdata)(gld, mp)) == NULL) {
4569 (void) hcksum_assoc(nmp, NULL, NULL, start, stuff, end, value,
4572 GLD_CLEAR_MBLK_VTAG(nmp);
4573 if (gld_start(q, nmp, GLD_WSRV, upri) == GLD_NORESOURCES) {