Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/net/
H A Dif_ports_used.c1085 errno_t error = mbuf_copydata(m, 0, event_data.una_wake_ptk_len, in if_notify_unattributed_wake_mbuf()
1195 errno_t error = mbuf_copydata(m, data_offset, ESP_HDR_SIZE, &payload); in is_encapsulated_esp()
1236 error = mbuf_copydata(m, 0, sizeof(struct ip), &iphdr); in if_ports_used_match_mbuf()
1265 error = mbuf_copydata(m, iphdr.ip_hl << 2, sizeof(struct tcphdr), &th); in if_ports_used_match_mbuf()
1285 error = mbuf_copydata(m, udp_offset, sizeof(struct udphdr), &uh); in if_ports_used_match_mbuf()
1330 error = mbuf_copydata(m, 0, sizeof(struct ip6_hdr), &ip6_hdr); in if_ports_used_match_mbuf()
1349 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf()
1381 error = mbuf_copydata(m, l3_len, sizeof(struct tcphdr), &th); in if_ports_used_match_mbuf()
1406 error = mbuf_copydata(m, l3_len, sizeof(struct udphdr), &uh); in if_ports_used_match_mbuf()
H A Dpacket_mangler.c723 error = mbuf_copydata(*data, 0, sizeof(ip), &ip); in pktmnglr_ipfilter_output()
795 error = mbuf_copydata(*data, 0, sizeof(ip), &ip); in pktmnglr_ipfilter_input()
802 error = mbuf_copydata(*data, 0, sizeof(ip6), &ip6); in pktmnglr_ipfilter_input()
873 error = mbuf_copydata(*data, (size_t)offset, sizeof(tcp), &tcp); in pktmnglr_ipfilter_input()
924 …error = mbuf_copydata(*data, (size_t)offset + sizeof(struct tcphdr), orig_tcp_optlen, tcp_opt_buf); in pktmnglr_ipfilter_input()
H A Dpktap.c957 error = mbuf_copydata(m, pre, sizeof(struct ip), &ip); in pktap_fill_proc_info()
972 error = mbuf_copydata(m, pre + hlen, in pktap_fill_proc_info()
985 error = mbuf_copydata(m, pre + hlen, in pktap_fill_proc_info()
1023 error = mbuf_copydata(m, pre, sizeof(struct ip6_hdr), &ip6); in pktap_fill_proc_info()
1034 error = mbuf_copydata(m, pre + sizeof(struct ip6_hdr), in pktap_fill_proc_info()
1050 error = mbuf_copydata(m, pre + sizeof(struct ip6_hdr), in pktap_fill_proc_info()
H A Dif_stf.c398 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip), &ip); in stf_encapcheck()
780 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 Dnetwork_agent.c525 error = mbuf_copydata(packet, 0, sizeof(header), &header); in netagent_ctl_send()
840 error = mbuf_copydata(packet, offset, sizeof(netagent_peek), &netagent_peek); in netagent_packet_get_netagent_data_size()
1031 error = mbuf_copydata(packet, offset, sizeof(struct netagent) + data_size, in netagent_handle_register_message()
1391 error = mbuf_copydata(packet, offset, sizeof(struct netagent) + data_size, new_wrapper->netagent); in netagent_handle_update_message()
1631 error = mbuf_copydata(packet, offset, sizeof(client_id), &client_id); in netagent_handle_assign_nexus_message()
1647 …error = mbuf_copydata(packet, offset + sizeof(client_id), assigned_results_length, assigned_result… in netagent_handle_assign_nexus_message()
H A Dremote_vif.c393 err = mbuf_copydata(m, 0, sizeof(struct pktap_header), (void *)&pktap_hdr); in rvi_ctl_send()
H A Dnet_stubs.c187 STUB(mbuf_copydata);
H A Dif_gif.c528 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip), &ip); in gif_encapcheck()
H A Dif_6lowpan.c954 if (mbuf_copydata(*m, 0, m_pktlen(*m), payload)) { in sixlowpan_framer_extended()
H A Dntstat.c5903 result = mbuf_copydata(m, offsetof(nstat_msg_add_src_req, param), paramlength, data); in nstat_control_handle_add_request()
6107 if (mbuf_copydata(m, offsetof(nstat_msg_rem_src_req, srcref), sizeof(srcref), &srcref) != 0) { in nstat_control_handle_remove_request()
6150 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_query_request()
6275 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_get_src_description()
6355 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_set_filter()
6460 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_get_update()
6594 mbuf_copydata(m, 0, sizeof(storage), &storage); in nstat_control_send()
H A Dif_ipsec.c969 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_kpipe_sync_rx()
1604 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_netif_sync_rx()
1821 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_netif_sync_rx()
H A Dif_bridge.c7279 error = mbuf_copydata(m, offset, sizeof(struct dhcp), &dhcp);
7429 error = mbuf_copydata(m, offset, sizeof(struct ip), &iphdr);
7458 error = mbuf_copydata(m, offset,
8098 error = mbuf_copydata(m, offset, sizeof(struct udphdr), &udphdr);
8112 error = mbuf_copydata(m, offset, sizeof(dp_flags), &dp_flags);
H A Dif_utun.c708 mbuf_copydata(data, header_offset, length, (void *)rx_baddr); in utun_netif_sync_rx()
3568 mbuf_copydata(data, 0, length, (void *)rx_baddr); in utun_kpipe_sync_rx()
H A Dbpf.c2940 err = mbuf_copydata(pkt->bpfp_mbuf, off, len, out_data); in bpf_copydata()
H A Ddlil.c5927 if (mbuf_copydata(m, 0, buflen, buffer) == 0) { in dlil_input_packet_list_common()
/xnu-8020.140.41/bsd/netinet6/
H A Din6_gif.c411 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip6), &ip6); in gif_encapcheck6()
/xnu-8020.140.41/bsd/nfs/gss/
H A Dgss_krb5_mech.c804 mbuf_copydata(lmb, 0, cts_len, cts_pad); in krb5_crypt_mbuf()
1472 error = mbuf_copydata(*mbp, tlen, ctx->digest_size, digest); in krb5_cfx_crypt_mbuf()
1645 error = mbuf_copydata(*mbp, 0, sizeof(gss_cfx_wrap_token_desc), &token); in gss_krb5_cfx_unwrap_mbuf()
1691 mbuf_copydata(*mbp, len, sizeof(gss_cfx_wrap_token_desc), &etoken); in gss_krb5_cfx_unwrap_mbuf()
1710 mbuf_copydata(*mbp, len, cctx->digest_size, digest); in gss_krb5_cfx_unwrap_mbuf()
2252 *minor = mbuf_copydata(*mbp, 0, itoken.length, itoken.value); in gss_krb5_3des_unwrap_mbuf()
2311 *minor = mbuf_copydata(smb, length - 1, 1, &padlen); in gss_krb5_3des_unwrap_mbuf()
/xnu-8020.140.41/bsd/netinet/
H A Din_gif.c361 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip), &ip); in gif_encapcheck4()
H A Dflow_divert.c436 error = mbuf_copydata(packet, cursor, sizeof(curr_type), &curr_type); in flow_divert_packet_find_tlv()
448 error = mbuf_copydata(packet, cursor, sizeof(curr_length), &curr_length); in flow_divert_packet_find_tlv()
473 error = mbuf_copydata(packet, tlv_offset + sizeof(type), sizeof(length), &length); in flow_divert_packet_get_tlv()
494 error = mbuf_copydata(packet, data_offset, to_copy, buff); in flow_divert_packet_get_tlv()
3011 error = mbuf_copydata(packet, 0, sizeof(hdr), &hdr); in flow_divert_input()
H A Dmptcp_subr.c6766 err = mbuf_copydata(m, 0, mbuf_len(m), &answer); in mptcp_symptoms_ctl_send()
/xnu-8020.140.41/bsd/sys/
H A Dkpi_mbuf.h831 extern errno_t mbuf_copydata(const mbuf_t mbuf, size_t offset, size_t length,
/xnu-8020.140.41/bsd/kern/
H A Dkpi_mbuf.c530 mbuf_copydata(const mbuf_t m0, size_t off, size_t len, void *out_data) in mbuf_copydata() function
H A Duipc_usrreq.c589 if (mbuf_copydata(m, 0, sizeof(hdr), &hdr) == 0 && in uipc_send()