Home
last modified time | relevance | path

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

123

/xnu-12377.41.6/bsd/netinet6/
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.c378 for (mprev = m; mprev && mprev->m_next != md; mprev = mprev->m_next) { in esp_output()
381 if (mprev == NULL || mprev->m_next != md) { in esp_output()
390 for (n = md; n; n = n->m_next) { in esp_output()
462 mprev->m_next = NULL; in esp_output()
468 mprev->m_next = md; in esp_output()
528 mprev->m_next = n; in esp_output()
529 n->m_next = md; in esp_output()
665 while (n->m_next) { in esp_output()
666 n = n->m_next; in esp_output()
692 nn->m_next = NULL; in esp_output()
[all …]
H A Desp_rijndael.c215 s = s->m_next; in esp_cbc_decrypt_aes()
222 s = s->m_next; in esp_cbc_decrypt_aes()
267 dp->m_next = d; in esp_cbc_decrypt_aes()
339 s = s->m_next; in esp_cbc_decrypt_aes()
344 m_freem(scut->m_next); in esp_cbc_decrypt_aes()
346 scut->m_next = d0; in esp_cbc_decrypt_aes()
432 s = s->m_next; in esp_cbc_encrypt_aes()
439 s = s->m_next; in esp_cbc_encrypt_aes()
484 dp->m_next = d; in esp_cbc_encrypt_aes()
567 s = s->m_next; in esp_cbc_encrypt_aes()
[all …]
H A Desp_core.c874 s = s->m_next; in esp_cbc_decrypt()
881 s = s->m_next; in esp_cbc_decrypt()
926 dp->m_next = d; in esp_cbc_decrypt()
981 s = s->m_next; in esp_cbc_decrypt()
985 m_freem(scut->m_next); in esp_cbc_decrypt()
987 scut->m_next = d0; in esp_cbc_decrypt()
1119 s = s->m_next; in esp_cbc_encrypt()
1126 s = s->m_next; in esp_cbc_encrypt()
1171 dp->m_next = d; in esp_cbc_encrypt()
1221 s = s->m_next; in esp_cbc_encrypt()
[all …]
H A Dipsec.c1135 for (n = m; n; n = n->m_next) { in ipsec_setspidx()
2309 if (M_LEADINGSPACE(m->m_next) < hlen) { in ipsec4_encapsulate()
2317 n->m_next = m->m_next; in ipsec4_encapsulate()
2318 m->m_next = n; in ipsec4_encapsulate()
2322 m->m_next->m_len += hlen; in ipsec4_encapsulate()
2323 m->m_next->m_data -= hlen; in ipsec4_encapsulate()
2325 oip = mtod(m->m_next, struct ip *); in ipsec4_encapsulate()
2398 if (M_LEADINGSPACE(m->m_next) < sizeof(struct ip6_hdr)) { in ipsec6_encapsulate()
2406 n->m_next = m->m_next; in ipsec6_encapsulate()
2407 m->m_next = n; in ipsec6_encapsulate()
[all …]
H A Desp_chachapoly.c358 s = s->m_next; in esp_chachapoly_encrypt()
378 s = s->m_next; in esp_chachapoly_encrypt()
490 s = s->m_next; in esp_chachapoly_decrypt()
510 s = s->m_next; in esp_chachapoly_decrypt()
H A Dicmp6.c718 n->m_next = n0; in icmp6_input()
1449 if (!n || n->m_next || n->m_len == 0) { in ni6_input()
1582 n->m_next = ni6_nametodns(hostname, hostnamelen, oldfqdn); in ni6_input()
1584 if (n->m_next == NULL) { in ni6_input()
1588 if (n->m_next->m_next != NULL) { in ni6_input()
1591 n->m_pkthdr.len += n->m_next->m_len; in ni6_input()
1665 m->m_next = NULL; in ni6_nametodns()
2981 if (m0->m_next) { in icmp6_redirect_output()
2982 m_freem(m0->m_next); in icmp6_redirect_output()
2983 m0->m_next = NULL; in icmp6_redirect_output()
[all …]
H A Dfrag6.c818 while (t->m_next) { in frag6_input()
819 t = t->m_next; in frag6_input()
821 t->m_next = IP6_REASS_MBUF(af6); in frag6_input()
822 m_adj(t->m_next, af6->ip6af_offset); in frag6_input()
H A Dip6_output.c838 exthdrs.ip6e_dest2->m_next = m->m_next; in ip6_output_list()
839 m->m_next = exthdrs.ip6e_dest2; in ip6_output_list()
853 (m)->m_next = (mp)->m_next; \ in ip6_output_list()
854 (mp)->m_next = (m); \ in ip6_output_list()
2302 m->m_next = n; in ip6_insertfraghdr()
2308 for (mlast = n; mlast->m_next; mlast = mlast->m_next) { in ip6_insertfraghdr()
2329 mlast->m_next = mfrg; in ip6_insertfraghdr()
3706 if (control->m_next) { in ip6_setpktopts()
4277 mh->m_next = m; in ip6_splithdr()
/xnu-12377.41.6/bsd/kern/
H A Duipc_mbuf.c733 m->m_next = m->m_nextpkt = NULL; in mbuf_init()
769 m->m_next = m->m_nextpkt = NULL; in m_elide()
1039 m->m_next = m->m_nextpkt = NULL; in mz_composite_destroy()
1654 struct mbuf *n = m->m_next; in m_free()
1704 m->m_next = m->m_nextpkt = NULL; in m_free()
1730 m->m_next = m->m_nextpkt = NULL; in m_free()
1789 m->m_next = m->m_nextpkt = NULL; in m_clattach()
2186 np = &m->m_next; in m_getpackets_internal()
2342 m->m_next = zstack_pop(&mp_list); in m_allocpacket_internal()
2344 ASSERT(m->m_next != NULL); in m_allocpacket_internal()
[all …]
H A Duipc_mbuf2.c191 for (t = m; t; t = t->m_next) { in m_pulldown()
210 n = n->m_next; in m_pulldown()
215 n = n->m_next; in m_pulldown()
254 o->m_next = n->m_next; in m_pulldown()
255 n->m_next = o; in m_pulldown()
256 n = n->m_next; in m_pulldown()
276 for (o = n->m_next; o != NULL; o = o->m_next) { in m_pulldown()
307 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); in m_pulldown()
309 m_adj(n->m_next, tlen); in m_pulldown()
319 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen && in m_pulldown()
[all …]
H A Duipc_socket2.c1076 while (m && m->m_next) { in sblastmbufchk()
1077 m = m->m_next; in sblastmbufchk()
1088 for (n = m; n != NULL; n = n->m_next) { in sblastmbufchk()
1116 for (m = m0; m != NULL; m = m->m_next) { in sbappendrecord_common()
1180 m = m0->m_next; in sbappendrecord_common()
1181 m0->m_next = 0; in sbappendrecord_common()
1223 for (n = control; n; n = n->m_next) { in sbconcat_mbufs()
1225 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()
1255 n->m_next = NULL; in sbconcat_mbufs()
[all …]
H A Duipc_socket.c2346 freelist = m->m_next; in sosend()
2347 m->m_next = NULL; in sosend()
2375 mp = &m->m_next; in sosend()
2532 for (m0 = top; m0 != NULL; m0 = m0->m_next) { in sosend_reinject()
2541 if (control != NULL && m0->m_next != NULL && m0->m_next->m_type != MT_CONTROL) { in sosend_reinject()
2548 control_end->m_next = NULL; in sosend_reinject()
2578 n = n->m_next; in mbuf_detach_control_from_list()
2580 control_end->m_next = NULL; in mbuf_detach_control_from_list()
2724 last_control->m_next = m; in sosend_list()
2847 m = m->m_next; in soreceive_addr()
[all …]
H A Dkpi_mbuf.c580 m = m->m_next; in mbuf_copydata()
591 m = m->m_next; in mbuf_copydata()
612 return mbuf->m_next; in mbuf_next()
622 mbuf->m_next = next; in mbuf_setnext()
1538 if (m->m_next == 0) { in mbuf_copyback()
1545 m->m_next = n; in mbuf_copyback()
1547 m = m->m_next; in mbuf_copyback()
1552 if (mlen < len && m->m_next == NULL && in mbuf_copyback()
1567 if (m->m_next == 0) { in mbuf_copyback()
1581 m->m_next = n; in mbuf_copyback()
[all …]
H A Duipc_mbuf_mcache.c1521 sp->sl_head = m->m_next; in slab_free()
1522 m->m_next = NULL; in slab_free()
1971 m->m_next = m->m_nextpkt = NULL; in cslab_free()
2810 m->m_next = sp->sl_head;
3084 struct mbuf *n = m->m_next;
3136 m->m_next = m->m_nextpkt = NULL;
3162 m->m_next = m->m_nextpkt = NULL;
3223 m->m_next = m->m_nextpkt = NULL;
3504 np = &m->m_next;
3661 m->m_next = (struct mbuf *)mp_list;
[all …]
/xnu-12377.41.6/tests/skywalk/
H A Dskt_copy_cksum.c61 struct mbuf *m_next; member
111 m = m->m_next; in m_copydata_sum()
119 for (; len > 0; m = m->m_next) { in m_copydata_sum()
239 m = m->m_next; in reference_cksum_mbuf()
242 for (; len > 0; m = m->m_next) { in reference_cksum_mbuf()
387 m.m_next = NULL; in reference_cksum_single()
411 m[0].m_next = &m[1]; in reference_cksum_multi()
414 m[1].m_next = NULL; in reference_cksum_multi()
418 m[0].m_next = NULL; in reference_cksum_multi()
433 m[0].m_next = &m[1]; in target_cksum_multi()
[all …]
/xnu-12377.41.6/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-12377.41.6/bsd/netinet/
H A Dmptcp.c450 m = iter->m_next; in mptcp_input()
454 prev->m_next = iter->m_next; in mptcp_input()
456 iter = prev->m_next; in mptcp_input()
463 iter = iter->m_next; in mptcp_input()
504 save = m->m_next; in mptcp_input()
517 save = save->m_next; in mptcp_input()
520 prev->m_next = NULL; in mptcp_input()
522 m->m_next = NULL; in mptcp_input()
541 tail->m_next = m; in mptcp_input()
573 tail->m_next = m; in mptcp_input()
H A Din_cksum.c360 m = m->m_next; in in_cksum_mbuf_ref()
363 for (; len > 0; m = m->m_next) { in in_cksum_mbuf_ref()
511 m = m->m_next; in in_cksum_mbuf_ref()
514 for (; len > 0; m = m->m_next) { in in_cksum_mbuf_ref()
H A Dmptcp_subr.c1963 m->m_next = new; in mptcp_adj_rmap()
2169 mp = &m->m_next; in mptcp_subflow_soreceive()
2170 so->so_rcv.sb_mb = m = m->m_next; in mptcp_subflow_soreceive()
2212 m_iter = m->m_next; in mptcp_subflow_soreceive()
2217 m_iter = m_iter->m_next; in mptcp_subflow_soreceive()
2303 mp = &m->m_next; in mptcp_subflow_soreceive()
2304 so->so_rcv.sb_mb = m = m->m_next; in mptcp_subflow_soreceive()
3019 so_m = so_m->m_next; in mptcp_search_seq_in_sub()
3252 mpt_mbuf = mpt_mbuf->m_next; in mptcp_subflow_output()
3287 VERIFY(m->m_next == NULL); in mptcp_subflow_output()
[all …]
H A Dip6.h320 if ((m)->m_next != NULL) { \
/xnu-12377.41.6/bsd/netkey/
H A Dkey.c1159 for (m = result; m; m = m->m_next) { in key_send_delete()
2193 if (!m || m->m_next) { /*XXX*/ in key_sp2msg()
2201 m->m_next = NULL; in key_sp2msg()
2280 n->m_next = NULL; in key_gather_mbuf()
2286 if (!n || n->m_next) { /*XXX*/ in key_gather_mbuf()
2311 for (n = result; n; n = n->m_next) { in key_gather_mbuf()
2996 n->m_next = NULL; in key_spddelete2()
3008 n->m_next = m_copym(m, mhp->extoff[SADB_X_EXT_POLICY], in key_spddelete2()
3010 if (!n->m_next) { in key_spddelete2()
3016 for (nn = n; nn; nn = nn->m_next) { in key_spddelete2()
[all …]
/xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c1962 struct mbuf *m_chained = smbuf->m_next; in _finalize_smbuf()
1969 m_chained = m_chained->m_next; in _finalize_smbuf()
1972 prev_m->m_next = m_chained->m_next; in _finalize_smbuf()
1974 m_chained = prev_m->m_next; in _finalize_smbuf()
2271 m_tmp = m_tmp->m_next; in flow_rx_agg_host()
2313 m_tmp = m_tmp->m_next; in flow_rx_agg_host()
2377 while (curr_m->m_next != NULL) { in flow_rx_agg_host()
2378 curr_m = curr_m->m_next; in flow_rx_agg_host()
2380 curr_m->m_next = m; in flow_rx_agg_host()
/xnu-12377.41.6/bsd/skywalk/packet/
H A Dpacket_copy.c1063 m = m->m_next; in m_copypkt_sum()
1081 m = m->m_next; in m_copypkt_sum()
1540 curr_m = curr_m->m_next; in pkt_copy_to_mbuf()
1590 ASSERT(m->m_next == NULL); in pkt_copy_to_mbuf()
1768 curr_m = curr_m->m_next; in pkt_copy_multi_buflet_to_mbuf()
1821 ASSERT(m->m_next == NULL); in pkt_copy_multi_buflet_to_mbuf()
1963 m = m->m_next; in m_copydata_sum()
1971 for (; len0 > 0; m = m->m_next) { in m_copydata_sum()
/xnu-12377.41.6/bsd/net/
H A Dpf_norm.c737 m2 = m->m_next; in pf_reassemble()
738 m->m_next = NULL; in pf_reassemble()
785 for (m2 = m; m2; m2 = m2->m_next) { in pf_reassemble()
919 VERIFY((*m0)->m_next == NULL); in pf_fragcache()
926 for (t = m; t; t = t->m_next) { in pf_fragcache()
989 for (t = m; t; t = t->m_next) { in pf_fragcache()
1441 for (m2 = m; m2; m2 = m2->m_next) { in pf_reassemble6()
1621 VERIFY((*m0)->m_next == NULL); in pf_frag6cache()
1628 for (t = m; t; t = t->m_next) { in pf_frag6cache()
1693 for (t = m; t; t = t->m_next) { in pf_frag6cache()

123