Lines Matching defs:mcopy
1567 struct mbuf *mcopy;
1698 mcopy = m_gethdr(M_DONTWAIT, MT_DATA);
1699 if (mcopy == NULL)
1701 mcopy->m_len = mcopy->m_pkthdr.len = icmp_len;
1702 mcopy->m_flags |= (mflags & M_COPYFLAGS);
1703 mcopy->m_pkthdr.ph_rtableid = rtableid;
1704 mcopy->m_pkthdr.ph_ifidx = ifp->if_index;
1705 mcopy->m_pkthdr.ph_loopcnt = loopcnt;
1706 mcopy->m_pkthdr.pf.flags |= (pfflags & PF_TAG_GENERATED);
1707 memcpy(mcopy->m_data, icmp_buf, icmp_len);
1708 icmp_error(mcopy, type, code, dest, destmtu);