Home
last modified time | relevance | path

Searched refs:m_copydata (Results 1 – 25 of 34) sorted by relevance

12

/xnu-10002.1.13/bsd/netinet6/
H A Desp_rijndael.c199 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()
808 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_encrypt_aes()
966 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_decrypt_aes()
974 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_gcm_decrypt_aes()
H A Desp_input.c196 m_copydata(m, iphlen, sizeof(th), (u_int8_t *)&th); in esp_input_log()
359 m_copydata(m, m->m_pkthdr.len - (u_short)siz, (u_short)siz, (caddr_t) saved_icv); in esp4_input_extended()
386 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) &sum0[0]); in esp4_input_extended()
514 m_copydata(m, m->m_pkthdr.len - sizeof(esptail), sizeof(esptail), in esp4_input_extended()
1077 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) saved_icv); in esp6_input_extended()
1104 m_copydata(m, m->m_pkthdr.len - (int)siz, (int)siz, (caddr_t) &sum0[0]); in esp6_input_extended()
1228 m_copydata(m, m->m_pkthdr.len - sizeof(esptail), sizeof(esptail), in esp6_input_extended()
1511 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in esp6_input_extended()
1517 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 Din6_cksum.c221 m_copydata(m, 0, sizeof(*ip6), (caddr_t)buf); in inet6_cksum()
H A Dah_core.c1270 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()
1402 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah4_calccksum()
1434 m_copydata(m, off, totlen, mtod(n, caddr_t)); in ah4_calccksum()
1540 m_copydata(m, off, newoff - off, (caddr_t)&ip6copy); in ah6_calccksum()
1591 m_copydata(m, off, newoff - off, mtod(n, caddr_t)); in ah6_calccksum()
1627 m_copydata(m, off, newoff - off, mtod(n, caddr_t)); in ah6_calccksum()
H A Desp_chachapoly.c302 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 Dipsec.c1165 m_copydata(m, 0, sizeof(ipbuf), (caddr_t)&ipbuf); in ipsec_setspidx()
1231 m_copydata(m, 0, sizeof(ip), (caddr_t)&ip); in ipsec4_get_ulp()
1253 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec4_get_ulp()
1267 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); in ipsec4_get_ulp()
1277 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ipsec4_get_ulp()
1301 m_copydata(m, 0, sizeof(ipbuf), (caddr_t)&ipbuf); in ipsec4_setspidx_ipaddr()
1360 m_copydata(m, off, sizeof(th), (caddr_t)&th); in ipsec6_get_ulp()
1372 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); in ipsec6_get_ulp()
1396 m_copydata(m, 0, sizeof(ip6buf), (caddr_t)&ip6buf); in ipsec6_setspidx_ipaddr()
4714 m_copydata(m, off + offsetof(struct ip, ip_src), sizeof(i4src.sin_addr), in ipsec4_tunnel_validate()
[all …]
H A Desp_core.c798 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_decrypt()
866 m_copydata(s, sn, blocklen, (caddr_t) sbuf); in esp_cbc_decrypt()
1038 m_copydata(m, (int)ivoff, ivlen, (caddr_t) iv); in esp_cbc_encrypt()
1111 m_copydata(s, sn, blocklen, (caddr_t) sbuf); in esp_cbc_encrypt()
H A Dip6_input.c917 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in ip6_input()
2202 m_copydata(m, off, sizeof(ip6), (caddr_t)&ip6); in ip6_nexthdr()
2217 m_copydata(m, off, sizeof(fh), (caddr_t)&fh); in ip6_nexthdr()
2232 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr()
2245 m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e); in ip6_nexthdr()
H A Desp_output.c436 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 Dah_input.c1003 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah6_ctlinput()
H A Dudp6_usrreq.c731 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh); in udp6_ctlinput()
H A Dicmp6.c1399 m_copydata(m, off + sizeof(struct icmp6_nodeinfo), in ni6_input()
2288 m_copydata(m, 0, sizeof(nip6), (caddr_t)&nip6); in icmp6_reflect()
/xnu-10002.1.13/bsd/skywalk/packet/
H A Dpacket_copy.c819 m_copydata(m, moff, start, baddr); in pkt_copy_from_mbuf()
828 m_copydata(m, moff, len, baddr); in pkt_copy_from_mbuf()
856 m_copydata(m, moff, start, baddr); in pkt_copy_from_mbuf()
882 m_copydata(m, moff, len, baddr); in pkt_copy_from_mbuf()
1199 m_copydata(m, moff, start, baddr); in pkt_copy_multi_buflet_from_mbuf()
1236 m_copydata(m, moff, start, baddr); in pkt_copy_multi_buflet_from_mbuf()
/xnu-10002.1.13/bsd/skywalk/nexus/netif/
H A Dnx_netif_gso.c331 m_copydata(m, 0, state->hlen, baddr); in netif_gso_tcp_segment_mbuf()
345 m_copydata(m, off, mss, baddr); in netif_gso_tcp_segment_mbuf()
/xnu-10002.1.13/bsd/netinet/
H A Din_cksum.c247 m_copydata(m, 0, sizeof(*ip), (caddr_t)buf); in inet_cksum()
H A Dip_compat.h295 extern void m_copydata(struct mbuf *, int, int, caddr_t);
H A Dip_icmp.c385 m_copydata(n, 0, icmplen, (caddr_t)&icp->icmp_ip); in icmp_error()
H A Dip_output.c2005 m_copydata(m, hoff, sizeof(*ip), (caddr_t)buf); in in_finalize_cksum()
2108 m_copydata(m, hoff, hlen, (caddr_t)buf); in in_finalize_cksum()
H A Dtcp_subr.c2622 m_copydata(m, off, sizeof(struct tcp_ports), (caddr_t)&t_ports); in tcp6_ctlinput()
2628 m_copydata(m, off, sizeof(tcp_seq), (caddr_t)&icmp_tcp_seq); in tcp6_ctlinput()
/xnu-10002.1.13/bsd/net/
H A Dpf_pbuf.c377 m_copydata(pbuf->pb_mbuf, off, len, dst); in pbuf_copy_data()
/xnu-10002.1.13/bsd/kern/
H A Duipc_mbuf2.c307 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 Duipc_mbuf.c6389 m_copydata(struct mbuf *m, int off, int len, void *vp) function
7263 m_copydata(m, off, mlen, datap);
7274 m_copydata(m, 0, mlen, datap);
7719 m_copydata(m0, progress, length, mtod(m_new, caddr_t));
/xnu-10002.1.13/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_manager.c1267 m_copydata(pkt->pkt_mbuf, udp_payload_offset + demux_pattern->fdp_offset, in rx_flow_demux_match()
/xnu-10002.1.13/bsd/sys/
H A Dmbuf.h1393 extern void m_copydata(struct mbuf *, int, int, void *);
/xnu-10002.1.13/bsd/netkey/
H A Dkey.c2371 m_copydata(m, 0, sizeof(struct sadb_msg), in key_gather_mbuf()
2382 m_copydata(m, mhp->extoff[idx], mhp->extlen[idx], in key_gather_mbuf()
3085 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_spddelete2()
6749 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_getspi()
8642 m_copydata(m, 0, sizeof(struct sadb_msg), mtod(n, caddr_t) + off); in key_register()
9463 m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t)); in key_parse()

12