| /xnu-8020.140.41/bsd/netinet6/ |
| H A D | esp_input.c | 192 m_copydata(m, iphlen, sizeof(th), (u_int8_t *)&th); in esp_input_log() 349 m_copydata(m, m->m_pkthdr.len - (u_short)siz, (u_short)siz, (caddr_t) saved_icv); in esp4_input_extended() 373 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) &sum0[0]); in esp4_input_extended() 500 m_copydata(m, m->m_pkthdr.len - sizeof(esptail), sizeof(esptail), in esp4_input_extended() 1058 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) saved_icv); in esp6_input_extended() 1082 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) &sum0[0]); in esp6_input_extended() 1206 m_copydata(m, m->m_pkthdr.len - sizeof(esptail), sizeof(esptail), in esp6_input_extended() 1490 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in esp6_input_extended() 1496 m_copydata(m, 0, maxlen, mtod(n, caddr_t)); in esp6_input_extended() 1663 m_copydata(m, off, sizeof(esp), (caddr_t)&esp); in esp6_ctlinput()
|
| H A D | esp_rijndael.c | 199 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_decrypt_aes() 233 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); in esp_cbc_decrypt_aes() 449 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); in esp_cbc_encrypt_aes() 717 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_encrypt_aes() 961 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_decrypt_aes() 969 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_gcm_decrypt_aes()
|
| H A D | esp_chachapoly.c | 320 m_copydata(m, (int)off, sizeof(esp_hdr), (void *)&esp_hdr); in esp_chachapoly_encrypt() 464 m_copydata(m, (int)off, sizeof(esp_hdr), (void *)&esp_hdr); in esp_chachapoly_decrypt() 477 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 | ah_core.c | 1270 m_copydata(m, off, sizeof(iphdr), (caddr_t)&iphdr); in ah4_calccksum() 1305 m_copydata(m, off, (int)hlen, mtod(n, caddr_t)); in ah4_calccksum() 1397 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah4_calccksum() 1425 m_copydata(m, off, totlen, mtod(n, caddr_t)); in ah4_calccksum() 1531 m_copydata(m, off, newoff - off, (caddr_t)&ip6copy); in ah6_calccksum() 1582 m_copydata(m, off, newoff - off, mtod(n, caddr_t)); in ah6_calccksum() 1618 m_copydata(m, off, newoff - off, mtod(n, caddr_t)); in ah6_calccksum()
|
| H A D | ipsec.c | 1163 m_copydata(m, 0, sizeof(ipbuf), (caddr_t)&ipbuf); in ipsec_setspidx() 1229 m_copydata(m, 0, sizeof(ip), (caddr_t)&ip); in ipsec4_get_ulp() 1251 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec4_get_ulp() 1265 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); in ipsec4_get_ulp() 1275 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ipsec4_get_ulp() 1299 m_copydata(m, 0, sizeof(ipbuf), (caddr_t)&ipbuf); in ipsec4_setspidx_ipaddr() 1358 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec6_get_ulp() 1370 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); in ipsec6_get_ulp() 1394 m_copydata(m, 0, sizeof(ip6buf), (caddr_t)&ip6buf); in ipsec6_setspidx_ipaddr() 4411 m_copydata(m, off + offsetof(struct ip, ip_src), sizeof(i4src.sin_addr), in ipsec4_tunnel_validate() [all …]
|
| H A D | esp_core.c | 752 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_decrypt() 820 m_copydata(s, sn, blocklen, (caddr_t) sbuf); in esp_cbc_decrypt() 992 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_encrypt() 1065 m_copydata(s, sn, blocklen, (caddr_t) sbuf); in esp_cbc_encrypt()
|
| H A D | ip6_input.c | 913 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in ip6_input() 2193 m_copydata(m, off, sizeof(ip6), (caddr_t)&ip6); in ip6_nexthdr() 2208 m_copydata(m, off, sizeof(fh), (caddr_t)&fh); in ip6_nexthdr() 2223 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr() 2236 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr()
|
| H A D | esp_output.c | 432 m_copydata(md, (int)iphlen, sizeof(th), (u_int8_t *)&th); in esp_output() 448 m_copydata(m, (int)iphlen, sizeof(th), (u_int8_t *)&th); in esp_output()
|
| H A D | ah_input.c | 1003 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah6_ctlinput()
|
| H A D | udp6_usrreq.c | 719 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh); in udp6_ctlinput()
|
| H A D | icmp6.c | 1370 m_copydata(m, off + sizeof(struct icmp6_nodeinfo), in ni6_input() 2262 m_copydata(m, 0, sizeof(nip6), (caddr_t)&nip6); in icmp6_reflect()
|
| /xnu-8020.140.41/bsd/skywalk/packet/ |
| H A D | packet_copy.c | 772 m_copydata(m, moff, start, baddr); in pkt_copy_from_mbuf() 781 m_copydata(m, moff, len, baddr); in pkt_copy_from_mbuf() 809 m_copydata(m, moff, start, baddr); in pkt_copy_from_mbuf() 835 m_copydata(m, moff, len, baddr); in pkt_copy_from_mbuf() 1133 m_copydata(m, moff, start, baddr); in pkt_copy_multi_buflet_from_mbuf() 1170 m_copydata(m, moff, start, baddr); in pkt_copy_multi_buflet_from_mbuf()
|
| /xnu-8020.140.41/bsd/kern/ |
| H A D | uipc_mbuf2.c | 267 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); in m_pulldown() 312 m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len); in m_pulldown()
|
| H A D | uipc_mbuf.c | 5347 m_copydata(struct mbuf *m, int off, int len, void *vp) function 6224 m_copydata(m, off, mlen, datap); 6235 m_copydata(m, 0, mlen, datap); 6680 m_copydata(m0, progress, length, mtod(m_new, caddr_t));
|
| /xnu-8020.140.41/bsd/netinet/ |
| H A D | in_cksum.c | 247 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 | 391 m_copydata(n, 0, icmplen, (caddr_t)&icp->icmp_ip); in icmp_error()
|
| H A D | ip_output.c | 1991 m_copydata(m, hoff, sizeof(*ip), (caddr_t)buf); in in_finalize_cksum() 2094 m_copydata(m, hoff, hlen, (caddr_t)buf); in in_finalize_cksum()
|
| H A D | tcp_subr.c | 2628 m_copydata(m, off, sizeof(struct tcp_ports), (caddr_t)&t_ports); in tcp6_ctlinput() 2634 m_copydata(m, off, sizeof(tcp_seq), (caddr_t)&icmp_tcp_seq); in tcp6_ctlinput()
|
| /xnu-8020.140.41/bsd/net/ |
| H A D | pf_pbuf.c | 374 m_copydata(pbuf->pb_mbuf, off, len, dst); in pbuf_copy_data()
|
| H A D | rtsock.c | 344 m_copydata(m, 0, len, (caddr_t)rtm); in route_output()
|
| /xnu-8020.140.41/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 305 m_copydata(m, 0, state->hlen, baddr); in netif_gso_tcp_segment_mbuf()
|
| /xnu-8020.140.41/bsd/sys/ |
| H A D | mbuf.h | 1320 extern void m_copydata(struct mbuf *, int, int, void *);
|
| /xnu-8020.140.41/bsd/netkey/ |
| H A D | key.c | 2271 m_copydata(m, 0, sizeof(struct sadb_msg), in key_gather_mbuf() 2282 m_copydata(m, mhp->extoff[idx], mhp->extlen[idx], in key_gather_mbuf() 2959 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_spddelete2() 6584 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_getspi() 8476 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_register() 9297 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in key_parse()
|