Lines Matching refs:mcopy
2354 struct mbuf *mcopy;
2438 MGET(mcopy, M_DONTWAIT, m->m_type);
2439 if (mcopy != NULL) {
2440 M_COPY_PKTHDR(mcopy, m);
2441 mcopy->m_len = imin((IP_VHL_HL(ip->ip_vhl) << 2) + 8,
2443 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t));
2524 if (mcopy) {
2528 * ip_output, the mcopy is rather a waste;
2531 m_freem(mcopy);
2536 if (mcopy == NULL)
2586 sp = ipsec4_getpolicybyaddr(mcopy,
2607 ipm = mtod(mcopy, struct ip *);
2659 m_freem(mcopy);
2663 icmp_error(mcopy, type, code, dest, nextmtu);