| /xnu-11417.140.69/bsd/netinet6/ |
| H A D | ah_output.c | 250 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 D | esp_output.c | 378 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 D | esp_rijndael.c | 215 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 D | esp_core.c | 874 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 D | ipsec.c | 1135 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 D | esp_chachapoly.c | 358 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 D | icmp6.c | 716 n->m_next = n0; in icmp6_input() 1447 if (!n || n->m_next || n->m_len == 0) { in ni6_input() 1580 n->m_next = ni6_nametodns(hostname, hostnamelen, oldfqdn); in ni6_input() 1582 if (n->m_next == NULL) { in ni6_input() 1586 if (n->m_next->m_next != NULL) { in ni6_input() 1589 n->m_pkthdr.len += n->m_next->m_len; in ni6_input() 1663 m->m_next = NULL; in ni6_nametodns() 2979 if (m0->m_next) { in icmp6_redirect_output() 2980 m_freem(m0->m_next); in icmp6_redirect_output() 2981 m0->m_next = NULL; in icmp6_redirect_output() [all …]
|
| H A D | frag6.c | 817 while (t->m_next) { in frag6_input() 818 t = t->m_next; in frag6_input() 820 t->m_next = IP6_REASS_MBUF(af6); in frag6_input() 821 m_adj(t->m_next, af6->ip6af_offset); in frag6_input()
|
| H A D | ip6_output.c | 838 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() 3694 if (control->m_next) { in ip6_setpktopts() 4265 mh->m_next = m; in ip6_splithdr()
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | uipc_mbuf2.c | 191 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 D | uipc_socket2.c | 1064 for (; m; m = m->m_next) { in sbcheck() 1113 while (m && m->m_next) { in sblastmbufchk() 1114 m = m->m_next; in sblastmbufchk() 1125 for (n = m; n != NULL; n = n->m_next) { in sblastmbufchk() 1153 for (m = m0; m != NULL; m = m->m_next) { in sbappendrecord_common() 1217 m = m0->m_next; in sbappendrecord_common() 1218 m0->m_next = 0; in sbappendrecord_common() 1260 for (n = control; n; n = n->m_next) { in sbconcat_mbufs() 1262 if (n->m_next == 0) { /* keep pointer to last control buf */ in sbconcat_mbufs() 1282 n->m_next = m0; /* concatenate data to control */ in sbconcat_mbufs() [all …]
|
| H A D | uipc_mbuf.c | 1235 (m)->m_next = (m)->m_nextpkt = NULL; \ 1596 m->m_next = m->m_nextpkt = NULL; in m_elide() 1866 m->m_next = m->m_nextpkt = NULL; in mz_composite_destroy() 2826 sp->sl_head = m->m_next; in slab_free() 2827 m->m_next = NULL; in slab_free() 3278 m->m_next = m->m_nextpkt = NULL; in cslab_free() 4119 m->m_next = sp->sl_head; 4506 struct mbuf *n = m->m_next; 4572 m->m_next = m->m_nextpkt = NULL; 4610 m->m_next = m->m_nextpkt = NULL; [all …]
|
| H A D | uipc_socket.c | 2501 freelist = m->m_next; in sosend() 2502 m->m_next = NULL; in sosend() 2530 mp = &m->m_next; in sosend() 2684 for (m0 = top; m0 != NULL; m0 = m0->m_next) { in sosend_reinject() 2693 if (control != NULL && m0->m_next != NULL && m0->m_next->m_type != MT_CONTROL) { in sosend_reinject() 2700 control_end->m_next = NULL; in sosend_reinject() 2727 n = n->m_next; in mbuf_detach_control_from_list() 2729 control_end->m_next = NULL; in mbuf_detach_control_from_list() 2873 last_control->m_next = m; in sosend_list() 2993 m = m->m_next; in soreceive_addr() [all …]
|
| H A D | kpi_mbuf.c | 569 m = m->m_next; in mbuf_copydata() 580 m = m->m_next; in mbuf_copydata() 601 return mbuf->m_next; in mbuf_next() 611 mbuf->m_next = next; in mbuf_setnext() 1527 if (m->m_next == 0) { in mbuf_copyback() 1534 m->m_next = n; in mbuf_copyback() 1536 m = m->m_next; in mbuf_copyback() 1541 if (mlen < len && m->m_next == NULL && in mbuf_copyback() 1556 if (m->m_next == 0) { in mbuf_copyback() 1570 m->m_next = n; in mbuf_copyback() [all …]
|
| /xnu-11417.140.69/tests/skywalk/ |
| H A D | skt_copy_cksum.c | 61 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-11417.140.69/bsd/net/classq/ |
| H A D | classq_util.c | 99 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-11417.140.69/bsd/netinet/ |
| H A D | mptcp.c | 443 m = iter->m_next; in mptcp_input() 447 prev->m_next = iter->m_next; in mptcp_input() 449 iter = prev->m_next; in mptcp_input() 456 iter = iter->m_next; in mptcp_input() 497 save = m->m_next; in mptcp_input() 510 save = save->m_next; in mptcp_input() 513 prev->m_next = NULL; in mptcp_input() 515 m->m_next = NULL; in mptcp_input() 534 tail->m_next = m; in mptcp_input() 566 tail->m_next = m; in mptcp_input()
|
| H A D | in_cksum.c | 360 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 D | mptcp_subr.c | 1963 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() 3014 so_m = so_m->m_next; in mptcp_search_seq_in_sub() 3244 mpt_mbuf = mpt_mbuf->m_next; in mptcp_subflow_output() 3279 VERIFY(m->m_next == NULL); in mptcp_subflow_output() [all …]
|
| H A D | ip6.h | 320 if ((m)->m_next != NULL) { \
|
| /xnu-11417.140.69/bsd/netkey/ |
| H A D | key.c | 1160 for (m = result; m; m = m->m_next) { in key_send_delete() 2194 if (!m || m->m_next) { /*XXX*/ in key_sp2msg() 2202 m->m_next = NULL; in key_sp2msg() 2281 n->m_next = NULL; in key_gather_mbuf() 2287 if (!n || n->m_next) { /*XXX*/ in key_gather_mbuf() 2312 for (n = result; n; n = n->m_next) { in key_gather_mbuf() 2997 n->m_next = NULL; in key_spddelete2() 3009 n->m_next = m_copym(m, mhp->extoff[SADB_X_EXT_POLICY], in key_spddelete2() 3011 if (!n->m_next) { in key_spddelete2() 3017 for (nn = n; nn; nn = nn->m_next) { in key_spddelete2() [all …]
|
| H A D | key_debug.c | 704 (uint64_t)VM_KERNEL_ADDRPERM(m->m_next), 734 for (j = 0; m; m = m->m_next) {
|
| /xnu-11417.140.69/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 1962 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() 2270 m_tmp = m_tmp->m_next; in flow_rx_agg_host() 2312 m_tmp = m_tmp->m_next; in flow_rx_agg_host() 2376 while (curr_m->m_next != NULL) { in flow_rx_agg_host() 2377 curr_m = curr_m->m_next; in flow_rx_agg_host() 2379 curr_m->m_next = m; in flow_rx_agg_host()
|
| /xnu-11417.140.69/bsd/skywalk/packet/ |
| H A D | packet_copy.c | 1040 m = m->m_next; in m_copypkt_sum() 1058 m = m->m_next; in m_copypkt_sum() 1503 curr_m = curr_m->m_next; in pkt_copy_to_mbuf() 1549 ASSERT(m->m_next == NULL); in pkt_copy_to_mbuf() 1719 curr_m = curr_m->m_next; in pkt_copy_multi_buflet_to_mbuf() 1768 ASSERT(m->m_next == NULL); in pkt_copy_multi_buflet_to_mbuf() 1903 m = m->m_next; in m_copydata_sum() 1911 for (; len0 > 0; m = m->m_next) { in m_copydata_sum()
|
| /xnu-11417.140.69/bsd/net/ |
| H A D | pf_norm.c | 736 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()
|