Home
last modified time | relevance | path

Searched refs:mbuf_copydata (Results 1 – 23 of 23) sorted by relevance

/xnu-12377.41.6/bsd/net/
H A Dif_ports_used.c1608 errno_t error = mbuf_copydata(m, 0, event_data.una_wake_ptk_len, in if_notify_unattributed_wake_mbuf()
1744 errno_t error = mbuf_copydata(m, data_offset, ESP_HDR_SIZE, &payload); in is_encapsulated_esp()
1793 if (mbuf_copydata(m, 0, buflen, buffer) == 0) { in log_wake_mbuf()
1849 error = mbuf_copydata(m, 0, sizeof(struct ip), &iphdr); in if_ports_used_match_mbuf()
1886 error = mbuf_copydata(m, iphdr.ip_hl << 2, sizeof(struct tcphdr), &th); in if_ports_used_match_mbuf()
1914 error = mbuf_copydata(m, udp_offset, sizeof(struct udphdr), &uh); in if_ports_used_match_mbuf()
1965 error = mbuf_copydata(m, 0, sizeof(struct ip6_hdr), &ip6_hdr); in if_ports_used_match_mbuf()
1992 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf()
2024 error = mbuf_copydata(m, l3_len, sizeof(struct tcphdr), &th); in if_ports_used_match_mbuf()
2057 error = mbuf_copydata(m, l3_len, sizeof(struct udphdr), &uh); in if_ports_used_match_mbuf()
[all …]
H A Dpacket_mangler.c716 error = mbuf_copydata(*data, 0, sizeof(ip), &ip); in pktmnglr_ipfilter_output()
788 error = mbuf_copydata(*data, 0, sizeof(ip), &ip); in pktmnglr_ipfilter_input()
795 error = mbuf_copydata(*data, 0, sizeof(ip6), &ip6); in pktmnglr_ipfilter_input()
866 error = mbuf_copydata(*data, (size_t)offset, sizeof(tcp), &tcp); in pktmnglr_ipfilter_input()
917 …error = mbuf_copydata(*data, (size_t)offset + sizeof(struct tcphdr), orig_tcp_optlen, tcp_opt_buf); in pktmnglr_ipfilter_input()
H A Dpktap.c986 error = mbuf_copydata(m, pre, sizeof(struct ip), &ip); in pktap_fill_proc_info()
1001 error = mbuf_copydata(m, pre + hlen, in pktap_fill_proc_info()
1014 error = mbuf_copydata(m, pre + hlen, in pktap_fill_proc_info()
1053 error = mbuf_copydata(m, pre, sizeof(struct ip6_hdr), &ip6); in pktap_fill_proc_info()
1064 error = mbuf_copydata(m, pre + sizeof(struct ip6_hdr), in pktap_fill_proc_info()
1080 error = mbuf_copydata(m, pre + sizeof(struct ip6_hdr), in pktap_fill_proc_info()
H A Dif_stf.c401 mbuf_copydata(__DECONST(struct mbuf *, m), 0, sizeof(ip), &ip); in stf_encapcheck()
783 if (mbuf_copydata(m, off, sizeof(ip6), &ip6)) { in in_stf_input()
H A Dnetsrc.c291 mbuf_copydata(m, 0, sizeof(storage), &storage); in netsrc_ctlsend()
H A Dremote_vif.c394 err = mbuf_copydata(m, 0, sizeof(struct pktap_header), (void *)&pktap_hdr); in rvi_ctl_send()
H A Dnetwork_agent.c656 error = mbuf_copydata(packet, 0, sizeof(header), &header); in netagent_ctl_send()
1044 error = mbuf_copydata(packet, offset, sizeof(netagent_peek), &netagent_peek); in netagent_packet_get_netagent_data_size()
1238 error = mbuf_copydata(packet, offset, sizeof(struct netagent) + data_size, in netagent_handle_register_message()
1646 …error = mbuf_copydata(packet, offset, new_registration->netagent_alloc_size, new_registration->net… in netagent_handle_update_message()
1868 error = mbuf_copydata(packet, offset, sizeof(client_id), &client_id); in netagent_handle_assign_nexus_message()
1884 …error = mbuf_copydata(packet, offset + sizeof(client_id), assigned_results_length, assigned_result… in netagent_handle_assign_nexus_message()
H A Dnet_stubs.c191 STUB(mbuf_copydata);
H A Dether_if_module.c405 if (mbuf_copydata(m, 0, sizeof(encap), (caddr_t)&encap) != 0) { in ether_remove_vlan_encapsulation()
H A Dif_gif.c524 mbuf_copydata(__DECONST(struct mbuf *, m), 0, sizeof(ip), &ip); in gif_encapcheck()
H A Dntstat.c6803 result = mbuf_copydata(m, offsetof(nstat_msg_add_src_req, param), paramlength, data); in nstat_client_handle_add_request()
7048 if (mbuf_copydata(m, offsetof(nstat_msg_rem_src_req, srcref), sizeof(srcref), &srcref) != 0) { in nstat_client_handle_remove_request()
7094 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_client_handle_query_request()
7247 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_client_handle_get_src_description()
7414 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_client_handle_get_update()
7544 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_client_handle_get_details()
7705 mbuf_copydata(m, 0, sizeof(storage), &storage); in nstat_client_send()
H A Dif_utun.c844 mbuf_copydata(data, header_offset, length, rx_baddr); in utun_netif_sync_rx()
H A Dbpf.c3567 err = mbuf_copydata(pkt->bpfp_mbuf, off, len, out_data); in bpf_copydata()
H A Dif_ipsec.c1659 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_netif_sync_rx()
H A Dif_bridge.c8075 error = mbuf_copydata(m, offset, sizeof(struct udphdr), &udphdr);
8089 error = mbuf_copydata(m, offset, sizeof(dp_flags), &dp_flags);
/xnu-12377.41.6/bsd/nfs/gss/
H A Dgss_krb5_mech.c804 mbuf_copydata(lmb, 0, cts_len, cts_pad); in krb5_crypt_mbuf()
1425 error = mbuf_copydata(*mbp, tlen, ctx->digest_size, digest); in krb5_cfx_crypt_mbuf()
1598 error = mbuf_copydata(*mbp, 0, sizeof(gss_cfx_wrap_token_desc), &token); in gss_krb5_cfx_unwrap_mbuf()
1644 mbuf_copydata(*mbp, len, sizeof(gss_cfx_wrap_token_desc), &etoken); in gss_krb5_cfx_unwrap_mbuf()
1663 mbuf_copydata(*mbp, len, cctx->digest_size, digest); in gss_krb5_cfx_unwrap_mbuf()
2166 *minor = mbuf_copydata(*mbp, 0, itoken.length, itoken.value); in gss_krb5_3des_unwrap_mbuf()
2225 *minor = mbuf_copydata(smb, length - 1, 1, &padlen); in gss_krb5_3des_unwrap_mbuf()
/xnu-12377.41.6/bsd/netinet6/
H A Din6_gif.c411 mbuf_copydata(__DECONST(struct mbuf *, m), 0, sizeof(ip6), &ip6); in gif_encapcheck6()
/xnu-12377.41.6/bsd/netinet/
H A Din_gif.c360 mbuf_copydata(__DECONST(struct mbuf *, m), 0, sizeof(ip), &ip); in gif_encapcheck4()
H A Dflow_divert.c505 error = mbuf_copydata(packet, cursor, sizeof(curr_type), &curr_type); in flow_divert_packet_find_tlv()
517 error = mbuf_copydata(packet, cursor, sizeof(curr_length), &curr_length); in flow_divert_packet_find_tlv()
542 error = mbuf_copydata(packet, tlv_offset + sizeof(type), sizeof(length), &length); in flow_divert_packet_get_tlv()
563 error = mbuf_copydata(packet, data_offset, to_copy, buff); in flow_divert_packet_get_tlv()
3366 error = mbuf_copydata(packet, 0, sizeof(hdr), &hdr); in flow_divert_input()
H A Dmptcp_subr.c6603 err = mbuf_copydata(m, 0, mbuf_len(m), &answer); in mptcp_symptoms_ctl_send()
/xnu-12377.41.6/bsd/sys/
H A Dkpi_mbuf.h930 extern errno_t mbuf_copydata(const mbuf_t mbuf, size_t offset, size_t length,
/xnu-12377.41.6/bsd/kern/
H A Dkpi_mbuf.c555 mbuf_copydata(const mbuf_t m0, size_t off, size_t len, void *out_data __sized_by_or_null(len)) in mbuf_copydata() function
H A Duipc_usrreq.c646 if (mbuf_copydata(m, 0, sizeof(hdr), &hdr) == 0 && in uipc_send()