Lines Matching defs:m0
194 struct mbuf *m0,
202 error = ip_output_list(m0, 0, opt, ro, flags, imo, ipoa);
230 struct mbuf *m0,
241 struct mbuf *m = m0;
271 packetlist = m0;
281 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET, NULL)) != NULL) {
297 m_tag_delete(m0, tag);
302 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DIVERT, NULL)) != NULL) {
308 m_tag_delete(m0, tag);
312 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPFORWARD, NULL)) != NULL) {
318 m_tag_delete(m0, tag);
322 m = m0;
940 m0 = m = state.m;
957 m0 = NULL;
1073 ip = mtod(m0 = m = m1, struct ip *);
1104 m0 = m;
1164 m0 = m = clone;
1438 m0 = m;
1493 m0 = m;
1502 m->m_flags |= (m0->m_flags & M_MCAST) | M_FRAG;
1519 m->m_next = m_copy(m0, off, len);
1528 m->m_pkthdr.csum_flags = m0->m_pkthdr.csum_flags;
1529 m->m_pkthdr.socket_id = m0->m_pkthdr.socket_id;
1531 mac_netinet_fragment(m0, m);
1546 m0->m_flags |= M_FIRSTFRAG | M_FRAG;
1547 m0->m_pkthdr.csum_data = nfrags;
1553 m = m0;
1568 for (m = m0; m; m = m0) {
1569 m0 = m->m_nextpkt;
1624 m_freem(m0);
1645 in_delayed_cksum_offset(struct mbuf *m0, int ip_offset)
1650 struct mbuf *m = m0;
1692 if (ip_len != (m0->m_pkthdr.len - ip_offset)) {
1694 if (ip_len != (m0->m_pkthdr.len - ip_offset)) {
1697 ip_len, (m0->m_pkthdr.len - ip_offset));
1707 if (m0->m_pkthdr.csum_flags & CSUM_UDP && csum == 0)
1709 offset += m0->m_pkthdr.csum_data & 0xFFFF; /* checksum offset */