Lines Matching refs:mb_copy
1448 struct mbuf *mb_copy;
1460 mb_copy = m_copy(m, 0, M_COPYALL);
1461 if (mb_copy &&
1462 (M_HASCL(mb_copy) || mb_copy->m_len < sizeof(struct ip6_hdr)))
1463 mb_copy = m_pullup(mb_copy, sizeof(struct ip6_hdr));
1464 if (mb_copy == NULL) {
1468 mb_copy->m_flags |= M_MCAST;
1484 error = ip6_output(mb_copy, NULL, &ro,
1512 if (mb_copy->m_pkthdr.len <= ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) {
1523 mb_copy->m_pkthdr.rcvif = 0;
1524 mb_copy->m_pkthdr.csum_data = 0;
1525 mb_copy->m_pkthdr.csum_flags = 0;
1528 error = dlil_output(ifp, PF_INET6, mb_copy,
1532 error = (*ifp->if_output)(ifp, mb_copy,
1543 icmp6_error(mb_copy, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu);
1553 mb_copy->m_pkthdr.len);
1555 m_freem(mb_copy); /* simply discard the packet */