Home
last modified time | relevance | path

Searched refs:m_next (Results 1 – 25 of 57) sorted by relevance

123

/xnu-8020.140.41/bsd/kern/ !
H A Duipc_mbuf2.c151 for (t = m; t; t = t->m_next) { in m_pulldown()
170 n = n->m_next; in m_pulldown()
175 n = n->m_next; in m_pulldown()
214 o->m_next = n->m_next; in m_pulldown()
215 n->m_next = o; in m_pulldown()
216 n = n->m_next; in m_pulldown()
236 for (o = n->m_next; o != NULL; o = o->m_next) { in m_pulldown()
267 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); in m_pulldown()
269 m_adj(n->m_next, tlen); in m_pulldown()
279 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen && in m_pulldown()
[all …]
H A Duipc_mbuf.c956 (m)->m_next = (m)->m_nextpkt = NULL; \
2122 sp->sl_head = m->m_next; in slab_free()
2123 m->m_next = NULL; in slab_free()
2575 m->m_next = m->m_nextpkt = NULL; in cslab_free()
3424 m->m_next = sp->sl_head;
3812 struct mbuf *n = m->m_next;
3865 m->m_next = m->m_nextpkt = NULL;
3889 m->m_next = m->m_nextpkt = NULL;
3946 m->m_next = m->m_nextpkt = NULL;
4357 np = &m->m_next;
[all …]
H A Duipc_socket2.c1034 for (; m; m = m->m_next) { in sbcheck()
1083 while (m && m->m_next) { in sblastmbufchk()
1084 m = m->m_next; in sblastmbufchk()
1095 for (n = m; n != NULL; n = n->m_next) { in sblastmbufchk()
1123 for (m = m0; m != NULL; m = m->m_next) { in sbappendrecord_common()
1183 m = m0->m_next; in sbappendrecord_common()
1184 m0->m_next = 0; in sbappendrecord_common()
1226 for (n = control; n; n = n->m_next) { in sbconcat_mbufs()
1228 if (n->m_next == 0) { /* keep pointer to last control buf */ in sbconcat_mbufs()
1245 n->m_next = m0; /* concatenate data to control */ in sbconcat_mbufs()
[all …]
H A Dkpi_mbuf.c548 m = m->m_next; in mbuf_copydata()
559 m = m->m_next; in mbuf_copydata()
580 return mbuf->m_next; in mbuf_next()
590 mbuf->m_next = next; in mbuf_setnext()
1374 if (m->m_next == 0) { in mbuf_copyback()
1381 m->m_next = n; in mbuf_copyback()
1383 m = m->m_next; in mbuf_copyback()
1388 if (mlen < len && m->m_next == NULL && in mbuf_copyback()
1403 if (m->m_next == 0) { in mbuf_copyback()
1417 m->m_next = n; in mbuf_copyback()
[all …]
H A Duipc_socket.c2465 freelist = m->m_next; in sosend()
2466 m->m_next = NULL; in sosend()
2494 mp = &m->m_next; in sosend()
2633 for (m0 = top; m0 != NULL; m0 = m0->m_next) { in sosend_reinject()
2642 if (control != NULL && m0->m_next != NULL && m0->m_next->m_type != MT_CONTROL) { in sosend_reinject()
2649 control_end->m_next = NULL; in sosend_reinject()
2852 for (n = m; n != NULL; n = n->m_next) { in sosend_list()
3022 m = m->m_next; in soreceive_addr()
3066 for (m = m0; m->m_next != NULL; m = m->m_next) { in soreceive_addr()
3089 m = m->m_next; in soreceive_addr()
[all …]
/xnu-8020.140.41/bsd/netinet6/ !
H A Desp_rijndael.c214 s = s->m_next; in esp_cbc_decrypt_aes()
221 s = s->m_next; in esp_cbc_decrypt_aes()
266 dp->m_next = d; in esp_cbc_decrypt_aes()
338 s = s->m_next; in esp_cbc_decrypt_aes()
343 m_freem(scut->m_next); in esp_cbc_decrypt_aes()
345 scut->m_next = d0; in esp_cbc_decrypt_aes()
430 s = s->m_next; in esp_cbc_encrypt_aes()
437 s = s->m_next; in esp_cbc_encrypt_aes()
482 dp->m_next = d; in esp_cbc_encrypt_aes()
565 s = s->m_next; in esp_cbc_encrypt_aes()
[all …]
H A Dah_output.c250 if (M_LEADINGSPACE(m->m_next) < ahlen) { in ah4_output()
260 n->m_next = m->m_next; in ah4_output()
261 m->m_next = n; in ah4_output()
265 m->m_next->m_len += ahlen; in ah4_output()
266 m->m_next->m_data -= ahlen; in ah4_output()
268 ahdrpos = mtod(m->m_next, u_char *); in ah4_output()
427 for (mprev = m; mprev && mprev->m_next != md; mprev = mprev->m_next) { in ah6_output()
430 if (!mprev || mprev->m_next != md) { in ah6_output()
450 mah->m_next = md; in ah6_output()
451 mprev->m_next = mah; in ah6_output()
H A Desp_output.c374 for (mprev = m; mprev && mprev->m_next != md; mprev = mprev->m_next) { in esp_output()
377 if (mprev == NULL || mprev->m_next != md) { in esp_output()
386 for (n = md; n; n = n->m_next) { in esp_output()
458 mprev->m_next = NULL; in esp_output()
464 mprev->m_next = md; in esp_output()
524 mprev->m_next = n; in esp_output()
525 n->m_next = md; in esp_output()
661 while (n->m_next) { in esp_output()
662 n = n->m_next; in esp_output()
688 nn->m_next = NULL; in esp_output()
[all …]
H A Desp_core.c798 s = s->m_next; in esp_cbc_decrypt()
805 s = s->m_next; in esp_cbc_decrypt()
850 dp->m_next = d; in esp_cbc_decrypt()
905 s = s->m_next; in esp_cbc_decrypt()
909 m_freem(scut->m_next); in esp_cbc_decrypt()
911 scut->m_next = d0; in esp_cbc_decrypt()
1043 s = s->m_next; in esp_cbc_encrypt()
1050 s = s->m_next; in esp_cbc_encrypt()
1095 dp->m_next = d; in esp_cbc_encrypt()
1145 s = s->m_next; in esp_cbc_encrypt()
[all …]
H A Dipsec.c1140 for (n = m; n; n = n->m_next) { in ipsec_setspidx()
2319 if (M_LEADINGSPACE(m->m_next) < hlen) { in ipsec4_encapsulate()
2327 n->m_next = m->m_next; in ipsec4_encapsulate()
2328 m->m_next = n; in ipsec4_encapsulate()
2332 m->m_next->m_len += hlen; in ipsec4_encapsulate()
2333 m->m_next->m_data -= hlen; in ipsec4_encapsulate()
2335 oip = mtod(m->m_next, struct ip *); in ipsec4_encapsulate()
2409 if (M_LEADINGSPACE(m->m_next) < sizeof(struct ip6_hdr)) { in ipsec6_encapsulate()
2417 n->m_next = m->m_next; in ipsec6_encapsulate()
2418 m->m_next = n; in ipsec6_encapsulate()
[all …]
H A Desp_chachapoly.c376 s = s->m_next; in esp_chachapoly_encrypt()
398 s = s->m_next; in esp_chachapoly_encrypt()
510 s = s->m_next; in esp_chachapoly_decrypt()
532 s = s->m_next; in esp_chachapoly_decrypt()
H A Dicmp6.c684 n->m_next = n0; in icmp6_input()
1415 if (!n || n->m_next || n->m_len == 0) { in ni6_input()
1548 n->m_next = ni6_nametodns(hostname, hostnamelen, oldfqdn); in ni6_input()
1550 if (n->m_next == NULL) { in ni6_input()
1554 if (n->m_next->m_next != NULL) { in ni6_input()
1557 n->m_pkthdr.len += n->m_next->m_len; in ni6_input()
1631 m->m_next = NULL; in ni6_nametodns()
2956 if (m0->m_next) { in icmp6_redirect_output()
2957 m_freem(m0->m_next); in icmp6_redirect_output()
2958 m0->m_next = NULL; in icmp6_redirect_output()
[all …]
H A Dfrag6.c796 while (t->m_next) { in frag6_input()
797 t = t->m_next; in frag6_input()
799 t->m_next = IP6_REASS_MBUF(af6); in frag6_input()
800 m_adj(t->m_next, af6->ip6af_offset); in frag6_input()
H A Dip6_output.c807 exthdrs.ip6e_dest2->m_next = m->m_next; in ip6_output_list()
808 m->m_next = exthdrs.ip6e_dest2; in ip6_output_list()
822 (m)->m_next = (mp)->m_next; \ in ip6_output_list()
823 (mp)->m_next = (m); \ in ip6_output_list()
2248 m->m_next = n; in ip6_insertfraghdr()
2254 for (mlast = n; mlast->m_next; mlast = mlast->m_next) { in ip6_insertfraghdr()
2275 mlast->m_next = mfrg; in ip6_insertfraghdr()
3607 if (control->m_next) { in ip6_setpktopts()
4171 mh->m_next = m; in ip6_splithdr()
/xnu-8020.140.41/bsd/net/classq/ !
H A Dclassq_util.c99 for (m0 = m; m0 != NULL; m0 = m0->m_next) { in read_dsfield()
150 for (m0 = m; m0 != NULL; m0 = m0->m_next) { in write_dsfield()
224 for (m0 = m; m0 != NULL; m0 = m0->m_next) { in mark_ecn()
/xnu-8020.140.41/bsd/netinet/ !
H A Dmptcp.c438 m = iter->m_next; in mptcp_input()
442 prev->m_next = iter->m_next; in mptcp_input()
444 iter = prev->m_next; in mptcp_input()
451 iter = iter->m_next; in mptcp_input()
492 save = m->m_next; in mptcp_input()
505 save = save->m_next; in mptcp_input()
508 prev->m_next = NULL; in mptcp_input()
510 m->m_next = NULL; in mptcp_input()
529 tail->m_next = m; in mptcp_input()
561 tail->m_next = m; in mptcp_input()
H A Din_cksum.c355 m = m->m_next; in in_cksum_mbuf_ref()
358 for (; len > 0; m = m->m_next) { in in_cksum_mbuf_ref()
506 m = m->m_next; in in_cksum_mbuf_ref()
509 for (; len > 0; m = m->m_next) { in in_cksum_mbuf_ref()
H A Dmptcp_subr.c2083 m->m_next = new; in mptcp_adj_rmap()
2273 mp = &m->m_next; in mptcp_subflow_soreceive()
2274 so->so_rcv.sb_mb = m = m->m_next; in mptcp_subflow_soreceive()
2316 m_iter = m->m_next; in mptcp_subflow_soreceive()
2321 m_iter = m_iter->m_next; in mptcp_subflow_soreceive()
2397 mp = &m->m_next; in mptcp_subflow_soreceive()
2398 so->so_rcv.sb_mb = m = m->m_next; in mptcp_subflow_soreceive()
3090 so_m = so_m->m_next; in mptcp_search_seq_in_sub()
3324 mpt_mbuf = mpt_mbuf->m_next; in mptcp_subflow_output()
3366 VERIFY(m->m_next == NULL); in mptcp_subflow_output()
[all …]
H A Dip6.h320 if ((m)->m_next != NULL) { \
H A Dcpu_in_cksum_gen.c180 offsetof(struct mbuf, m_next)); in os_cpu_in_cksum()
/xnu-8020.140.41/bsd/netkey/ !
H A Dkey.c1045 for (m = result; m; m = m->m_next) { in key_send_delete()
2187 if (!m || m->m_next) { /*XXX*/ in key_sp2msg()
2195 m->m_next = NULL; in key_sp2msg()
2270 n->m_next = NULL; in key_gather_mbuf()
2276 if (!n || n->m_next) { /*XXX*/ in key_gather_mbuf()
2301 for (n = result; n; n = n->m_next) { in key_gather_mbuf()
2956 n->m_next = NULL; in key_spddelete2()
2968 n->m_next = m_copym(m, mhp->extoff[SADB_X_EXT_POLICY], in key_spddelete2()
2970 if (!n->m_next) { in key_spddelete2()
2976 for (nn = n; nn; nn = nn->m_next) { in key_spddelete2()
[all …]
H A Dkey_debug.c704 (uint64_t)VM_KERNEL_ADDRPERM(m->m_next),
734 for (j = 0; m; m = m->m_next) {
/xnu-8020.140.41/bsd/skywalk/packet/ !
H A Dpacket_copy.c948 m = m->m_next; in m_copypkt_sum()
966 m = m->m_next; in m_copypkt_sum()
1311 ASSERT((m->m_flags & M_PKTHDR) && m->m_next == NULL); in pkt_copy_to_mbuf()
1474 ASSERT((m->m_flags & M_PKTHDR) && m->m_next == NULL); in pkt_copy_multi_buflet_to_mbuf()
1644 m = m->m_next; in m_copydata_sum()
1652 for (; len > 0; m = m->m_next) { in m_copydata_sum()
/xnu-8020.140.41/bsd/net/ !
H A Dpf_norm.c736 m2 = m->m_next; in pf_reassemble()
737 m->m_next = NULL; in pf_reassemble()
783 for (m2 = m; m2; m2 = m2->m_next) { in pf_reassemble()
917 VERIFY((*m0)->m_next == NULL); in pf_fragcache()
924 for (t = m; t; t = t->m_next) { in pf_fragcache()
987 for (t = m; t; t = t->m_next) { in pf_fragcache()
1436 for (m2 = m; m2; m2 = m2->m_next) { in pf_reassemble6()
1616 VERIFY((*m0)->m_next == NULL); in pf_frag6cache()
1623 for (t = m; t; t = t->m_next) { in pf_frag6cache()
1688 for (t = m; t; t = t->m_next) { in pf_frag6cache()
H A Dbpf_filter.c130 m = m->m_next; in m_hdr_offset()
139 *m_p = m->m_next; in m_hdr_offset()

123