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