| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | ah_core.c | 573 m_copydata(m, off, sizeof(iphdr), (caddr_t)&iphdr); in ah4_calccksum() 608 m_copydata(m, off, (int)hlen, mtod(n, caddr_t)); in ah4_calccksum() 705 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah4_calccksum() 737 m_copydata(m, off, totlen, mtod(n, caddr_t)); in ah4_calccksum() 850 m_copydata(m, off, newoff - off, (caddr_t)&ip6copy); in ah6_calccksum() 901 m_copydata(m, off, newoff - off, mtod(n, caddr_t)); in ah6_calccksum() 937 m_copydata(m, off, newoff - off, mtod(n, caddr_t)); in ah6_calccksum()
|
| H A D | esp_rijndael.c | 200 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_decrypt_aes() 234 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); in esp_cbc_decrypt_aes() 451 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); in esp_cbc_encrypt_aes() 824 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_encrypt_aes() 982 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_decrypt_aes() 990 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_gcm_decrypt_aes()
|
| H A D | esp_input.c | 196 m_copydata(m, iphlen, sizeof(th), (u_int8_t *)&th); in esp_input_log() 362 m_copydata(m, m->m_pkthdr.len - (u_short)siz, (u_short)siz, (caddr_t) saved_icv); in esp4_input_extended() 389 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) &sum0[0]); in esp4_input_extended() 517 m_copydata(m, m->m_pkthdr.len - sizeof(esptail), sizeof(esptail), in esp4_input_extended() 1075 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) saved_icv); in esp6_input_extended() 1102 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) &sum0[0]); in esp6_input_extended() 1226 m_copydata(m, m->m_pkthdr.len - sizeof(esptail), sizeof(esptail), in esp6_input_extended() 1509 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in esp6_input_extended() 1515 m_copydata(m, 0, maxlen, mtod(n, caddr_t)); in esp6_input_extended() 1683 m_copydata(m, off, sizeof(esp), (caddr_t)&esp); in esp6_ctlinput()
|
| H A D | esp_chachapoly.c | 302 m_copydata(m, (int)off, sizeof(esp_hdr), (void *)&esp_hdr); in esp_chachapoly_encrypt() 444 m_copydata(m, (int)off, sizeof(esp_hdr), (void *)&esp_hdr); in esp_chachapoly_decrypt() 457 m_copydata(m, ivoff, ESP_CHACHAPOLY_IV_LEN, ((uint8_t *)nonce) + ESP_CHACHAPOLY_SALT_LEN); in esp_chachapoly_decrypt()
|
| H A D | in6_cksum.c | 221 m_copydata(m, 0, sizeof(*ip6), (caddr_t)buf); in inet6_cksum()
|
| H A D | ipsec.c | 1158 m_copydata(m, 0, sizeof(ipbuf), (caddr_t)&ipbuf); in ipsec_setspidx() 1224 m_copydata(m, 0, sizeof(ip), (caddr_t)&ip); in ipsec4_get_ulp() 1246 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec4_get_ulp() 1258 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); in ipsec4_get_ulp() 1266 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ipsec4_get_ulp() 1290 m_copydata(m, 0, sizeof(ipbuf), (caddr_t)&ipbuf); in ipsec4_setspidx_ipaddr() 1349 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec6_get_ulp() 1361 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); in ipsec6_get_ulp() 1385 m_copydata(m, 0, sizeof(ip6buf), (caddr_t)&ip6buf); in ipsec6_setspidx_ipaddr() 4699 m_copydata(m, off + offsetof(struct ip, ip_src), sizeof(i4src.sin_addr), in ipsec4_tunnel_validate() [all …]
|
| H A D | esp_core.c | 828 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_decrypt() 896 m_copydata(s, sn, blocklen, (caddr_t) sbuf); in esp_cbc_decrypt() 1068 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_encrypt() 1141 m_copydata(s, sn, blocklen, (caddr_t) sbuf); in esp_cbc_encrypt()
|
| H A D | ip6_input.c | 928 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in ip6_input() 2251 m_copydata(m, off, sizeof(ip6), (caddr_t)&ip6); in ip6_nexthdr() 2266 m_copydata(m, off, sizeof(fh), (caddr_t)&fh); in ip6_nexthdr() 2281 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr() 2294 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr()
|
| H A D | esp_output.c | 436 m_copydata(md, (int)iphlen, sizeof(th), (u_int8_t *)&th); in esp_output() 452 m_copydata(m, (int)iphlen, sizeof(th), (u_int8_t *)&th); in esp_output()
|
| H A D | ah_input.c | 1012 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah6_ctlinput()
|
| H A D | udp6_usrreq.c | 755 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh); in udp6_ctlinput()
|
| H A D | icmp6.c | 1404 m_copydata(m, off + sizeof(struct icmp6_nodeinfo), in ni6_input() 2292 m_copydata(m, 0, sizeof(nip6), (caddr_t)&nip6); in icmp6_reflect()
|
| /xnu-12377.41.6/bsd/skywalk/packet/ |
| H A D | packet_copy.c | 849 m_copydata(m, moff, start, baddr); in pkt_copy_from_mbuf() 858 m_copydata(m, moff, len, baddr); in pkt_copy_from_mbuf() 891 m_copydata(m, moff, start, baddr); in pkt_copy_from_mbuf() 917 m_copydata(m, moff, len, baddr); in pkt_copy_from_mbuf() 1250 m_copydata(m, moff, start, baddr); in pkt_copy_multi_buflet_from_mbuf() 1292 m_copydata(m, moff, start, baddr); in pkt_copy_multi_buflet_from_mbuf()
|
| /xnu-12377.41.6/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 333 m_copydata(m, 0, state->hlen, baddr); in netif_gso_tcp_segment_mbuf() 347 m_copydata(m, off, mss, baddr); in netif_gso_tcp_segment_mbuf()
|
| /xnu-12377.41.6/bsd/netinet/ |
| H A D | in_cksum.c | 252 m_copydata(m, 0, sizeof(*ip), (caddr_t)buf); in inet_cksum()
|
| H A D | ip_compat.h | 295 extern void m_copydata(struct mbuf *, int, int, caddr_t);
|
| H A D | ip_icmp.c | 388 m_copydata(n, 0, icmplen, mtod(m, caddr_t) + offsetof(struct icmp, icmp_ip)); in icmp_error()
|
| H A D | ip_output.c | 2078 m_copydata(m, hoff, sizeof(*ip), (caddr_t)buf); in in_finalize_cksum() 2181 m_copydata(m, hoff, hlen, (caddr_t)buf); in in_finalize_cksum()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | pf_pbuf.c | 402 m_copydata(pbuf->pb_mbuf, off, len, dst); in pbuf_copy_data()
|
| H A D | rtsock.c | 374 m_copydata(m, 0, len, rtm_buf); in route_output()
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | uipc_mbuf2.c | 307 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); in m_pulldown() 352 m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len); in m_pulldown()
|
| H A D | uipc_mbuf.c | 3313 m_copydata(struct mbuf *m, int off, int len0, void *vp __sized_by(len0)) in m_copydata() function 3974 m_copydata(m, off, mlen, datap); in m_copyback0() 3985 m_copydata(m, 0, mlen, datap); in m_copyback0() 4413 m_copydata(m0, progress, length, mtod(m_new, caddr_t)); in m_defrag_offset()
|
| /xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_manager.c | 1273 m_copydata(pkt->pkt_mbuf, udp_payload_offset + demux_pattern->fdp_offset, in rx_flow_demux_match()
|
| /xnu-12377.41.6/bsd/netkey/ |
| H A D | key.c | 2281 m_copydata(m, 0, sizeof(struct sadb_msg), in key_gather_mbuf() 2292 m_copydata(m, mhp->extoff[idx], mhp->extlen[idx], in key_gather_mbuf() 2999 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_spddelete2() 6720 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_getspi() 8617 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_register() 9446 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in key_parse()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | mbuf.h | 1488 extern void m_copydata(struct mbuf *, int, int len, void * __sized_by(len));
|