Lines Matching refs:mcopy
97 struct mbuf *mcopy = NULL;
171 mcopy = m_copy(m, 0, imin(m->m_pkthdr.len, ICMPV6_PLD_MAXLEN));
182 if (mcopy) {
186 m_freem(mcopy);
205 if (mcopy) {
209 m_freem(mcopy);
227 if (mcopy) {
231 m_freem(mcopy);
291 if (mcopy) {
295 m_freem(mcopy);
324 if (mcopy) {
327 icmp6_error(mcopy, ICMP6_DST_UNREACH,
350 if (mcopy) {
353 icmp6_error(mcopy, ICMP6_DST_UNREACH,
387 if (mcopy) {
390 icmp6_error(mcopy, ICMP6_DST_UNREACH,
401 if (mcopy) {
418 sp2 = ipsec6_getpolicybyaddr(mcopy, IPSEC_DIR_OUTBOUND,
421 ipsechdrsiz = ipsec6_hdrsiz(mcopy,
436 icmp6_error(mcopy, ICMP6_PACKET_TOO_BIG, 0, mtu);
471 icmp6_error(mcopy, ICMP6_DST_UNREACH,
551 if (mcopy)
555 if (mcopy == NULL)
562 icmp6_redirect_output(mcopy, rt);
587 icmp6_error(mcopy, type, code, 0);
593 m_freem(mcopy);