Lines Matching refs:mcopy
2089 struct mbuf *mcopy;
2158 MGET(mcopy, M_DONTWAIT, m->m_type);
2159 if (mcopy != NULL) {
2160 M_COPY_PKTHDR(mcopy, m);
2161 mcopy->m_len = imin((IP_VHL_HL(ip->ip_vhl) << 2) + 8,
2163 m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t));
2235 if (mcopy) {
2236 ipflow_create(ipforward_rt, mcopy);
2237 m_freem(mcopy);
2242 if (mcopy == NULL)
2285 sp = ipsec4_getpolicybyaddr(mcopy,
2313 ipm = mtod(mcopy, struct ip *);
2361 m_freem(mcopy);
2364 icmp_error(mcopy, type, code, dest, destifp);