Lines Matching defs:mb_copy
1528 struct mbuf *mb_copy;
1540 mb_copy = m_copym(m, 0, M_COPYALL, M_NOWAIT);
1541 if (mb_copy &&
1542 (!M_WRITABLE(mb_copy) || mb_copy->m_len < sizeof(struct ip6_hdr)))
1543 mb_copy = m_pullup(mb_copy, sizeof(struct ip6_hdr));
1544 if (mb_copy == NULL) {
1548 mb_copy->m_flags |= M_MCAST;
1566 error = ip6_output(mb_copy, NULL, NULL, IPV6_FORWARDING, &im6o,
1587 if (mb_copy->m_pkthdr.len <= linkmtu || linkmtu < IPV6_MMTU) {
1601 error = (*ifp->if_output)(ifp, mb_copy,
1612 icmp6_error(mb_copy, ICMP6_PACKET_TOO_BIG, 0, linkmtu);
1618 mb_copy->m_pkthdr.len);
1619 m_freem(mb_copy); /* simply discard the packet */