Home
last modified time | relevance | path

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

12

/xnu-12377.41.6/bsd/netinet6/
H A Dah_core.c573 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 Desp_rijndael.c200 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 Desp_input.c196 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 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 Din6_cksum.c221 m_copydata(m, 0, sizeof(*ip6), (caddr_t)buf); in inet6_cksum()
H A Dipsec.c1158 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 Desp_core.c828 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 Dip6_input.c928 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 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.c1012 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah6_ctlinput()
H A Dudp6_usrreq.c755 m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh); in udp6_ctlinput()
H A Dicmp6.c1404 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 Dpacket_copy.c849 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 Dnx_netif_gso.c333 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 Din_cksum.c252 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.c388 m_copydata(n, 0, icmplen, mtod(m, caddr_t) + offsetof(struct icmp, icmp_ip)); in icmp_error()
H A Dip_output.c2078 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 Dpf_pbuf.c402 m_copydata(pbuf->pb_mbuf, off, len, dst); in pbuf_copy_data()
H A Drtsock.c374 m_copydata(m, 0, len, rtm_buf); in route_output()
/xnu-12377.41.6/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.c3313 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 Dflow_manager.c1273 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 Dkey.c2281 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 Dmbuf.h1488 extern void m_copydata(struct mbuf *, int, int len, void * __sized_by(len));

12