Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/net/
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 Dif_ports_used.c1244 errno_t error = mbuf_copydata(m, 0, event_data.una_wake_ptk_len, in if_notify_unattributed_wake_mbuf()
1387 errno_t error = mbuf_copydata(m, data_offset, ESP_HDR_SIZE, &payload); in is_encapsulated_esp()
1435 error = mbuf_copydata(m, 0, sizeof(struct ip), &iphdr); in if_ports_used_match_mbuf()
1472 error = mbuf_copydata(m, iphdr.ip_hl << 2, sizeof(struct tcphdr), &th); in if_ports_used_match_mbuf()
1500 error = mbuf_copydata(m, udp_offset, sizeof(struct udphdr), &uh); in if_ports_used_match_mbuf()
1551 error = mbuf_copydata(m, 0, sizeof(struct ip6_hdr), &ip6_hdr); in if_ports_used_match_mbuf()
1578 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf()
1610 error = mbuf_copydata(m, l3_len, sizeof(struct tcphdr), &th); in if_ports_used_match_mbuf()
1643 error = mbuf_copydata(m, l3_len, sizeof(struct udphdr), &uh); in if_ports_used_match_mbuf()
H A Dpktap.c955 error = mbuf_copydata(m, pre, sizeof(struct ip), &ip); in pktap_fill_proc_info()
970 error = mbuf_copydata(m, pre + hlen, in pktap_fill_proc_info()
983 error = mbuf_copydata(m, pre + hlen, in pktap_fill_proc_info()
1021 error = mbuf_copydata(m, pre, sizeof(struct ip6_hdr), &ip6); in pktap_fill_proc_info()
1032 error = mbuf_copydata(m, pre + sizeof(struct ip6_hdr), in pktap_fill_proc_info()
1048 error = mbuf_copydata(m, pre + sizeof(struct ip6_hdr), in pktap_fill_proc_info()
H A Dif_stf.c400 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip), &ip); in stf_encapcheck()
782 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 Dnetwork_agent.c549 error = mbuf_copydata(packet, 0, sizeof(header), &header); in netagent_ctl_send()
884 error = mbuf_copydata(packet, offset, sizeof(netagent_peek), &netagent_peek); in netagent_packet_get_netagent_data_size()
1060 error = mbuf_copydata(packet, offset, sizeof(struct netagent) + data_size, in netagent_handle_register_message()
1414 error = mbuf_copydata(packet, offset, sizeof(struct netagent) + data_size, new_wrapper->netagent); in netagent_handle_update_message()
1670 error = mbuf_copydata(packet, offset, sizeof(client_id), &client_id); in netagent_handle_assign_nexus_message()
1686 …error = mbuf_copydata(packet, offset + sizeof(client_id), assigned_results_length, assigned_result… in netagent_handle_assign_nexus_message()
H A Dremote_vif.c394 err = mbuf_copydata(m, 0, sizeof(struct pktap_header), (void *)&pktap_hdr); in rvi_ctl_send()
H A Dnet_stubs.c188 STUB(mbuf_copydata);
H A Dif_gif.c524 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip), &ip); in gif_encapcheck()
H A Dntstat.c6034 result = mbuf_copydata(m, offsetof(nstat_msg_add_src_req, param), paramlength, data); in nstat_control_handle_add_request()
6257 if (mbuf_copydata(m, offsetof(nstat_msg_rem_src_req, srcref), sizeof(srcref), &srcref) != 0) { in nstat_control_handle_remove_request()
6300 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_query_request()
6425 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_get_src_description()
6505 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_set_filter()
6610 if (mbuf_copydata(m, 0, sizeof(req), &req) != 0) { in nstat_control_handle_get_update()
6744 mbuf_copydata(m, 0, sizeof(storage), &storage); in nstat_control_send()
H A Dif_ipsec.c975 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_kpipe_sync_rx_mbuf()
1889 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_netif_sync_rx_mbuf()
2106 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_netif_sync_rx_mbuf()
2497 mbuf_copydata(data, 0, length, (void *)rx_baddr); in ipsec_netif_sync_rx_packet()
H A Dif_bridge.c7497 error = mbuf_copydata(m, offset, sizeof(struct dhcp), &dhcp);
7650 error = mbuf_copydata(m, offset, sizeof(struct ip), &iphdr);
7680 error = mbuf_copydata(m, offset,
7740 error = mbuf_copydata(m, offset, sizeof(struct ip6_hdr), &ip6hdr);
8348 error = mbuf_copydata(m, offset, sizeof(struct udphdr), &udphdr);
8362 error = mbuf_copydata(m, offset, sizeof(dp_flags), &dp_flags);
H A Dif_utun.c710 mbuf_copydata(data, header_offset, length, (void *)rx_baddr); in utun_netif_sync_rx()
3575 mbuf_copydata(data, 0, length, (void *)rx_baddr); in utun_kpipe_sync_rx()
H A Dbpf.c3475 err = mbuf_copydata(pkt->bpfp_mbuf, off, len, out_data); in bpf_copydata()
H A Ddlil.c6417 if (mbuf_copydata(m, 0, buflen, buffer) == 0) { in dlil_input_packet_list_common()
/xnu-10063.141.1/bsd/nfs/gss/
H A Dgss_krb5_mech.c803 mbuf_copydata(lmb, 0, cts_len, cts_pad); in krb5_crypt_mbuf()
1424 error = mbuf_copydata(*mbp, tlen, ctx->digest_size, digest); in krb5_cfx_crypt_mbuf()
1597 error = mbuf_copydata(*mbp, 0, sizeof(gss_cfx_wrap_token_desc), &token); in gss_krb5_cfx_unwrap_mbuf()
1643 mbuf_copydata(*mbp, len, sizeof(gss_cfx_wrap_token_desc), &etoken); in gss_krb5_cfx_unwrap_mbuf()
1662 mbuf_copydata(*mbp, len, cctx->digest_size, digest); in gss_krb5_cfx_unwrap_mbuf()
2165 *minor = mbuf_copydata(*mbp, 0, itoken.length, itoken.value); in gss_krb5_3des_unwrap_mbuf()
2224 *minor = mbuf_copydata(smb, length - 1, 1, &padlen); in gss_krb5_3des_unwrap_mbuf()
/xnu-10063.141.1/bsd/netinet6/
H A Din6_gif.c411 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip6), &ip6); in gif_encapcheck6()
/xnu-10063.141.1/bsd/netinet/
H A Din_gif.c360 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof(ip), &ip); in gif_encapcheck4()
H A Dflow_divert.c496 error = mbuf_copydata(packet, cursor, sizeof(curr_type), &curr_type); in flow_divert_packet_find_tlv()
508 error = mbuf_copydata(packet, cursor, sizeof(curr_length), &curr_length); in flow_divert_packet_find_tlv()
533 error = mbuf_copydata(packet, tlv_offset + sizeof(type), sizeof(length), &length); in flow_divert_packet_get_tlv()
554 error = mbuf_copydata(packet, data_offset, to_copy, buff); in flow_divert_packet_get_tlv()
3312 error = mbuf_copydata(packet, 0, sizeof(hdr), &hdr); in flow_divert_input()
H A Dmptcp_subr.c6573 err = mbuf_copydata(m, 0, mbuf_len(m), &answer); in mptcp_symptoms_ctl_send()
/xnu-10063.141.1/bsd/sys/
H A Dkpi_mbuf.h831 extern errno_t mbuf_copydata(const mbuf_t mbuf, size_t offset, size_t length,
/xnu-10063.141.1/bsd/kern/
H A Dkpi_mbuf.c532 mbuf_copydata(const mbuf_t m0, size_t off, size_t len, void *out_data) in mbuf_copydata() function
H A Duipc_usrreq.c627 if (mbuf_copydata(m, 0, sizeof(hdr), &hdr) == 0 && in uipc_send()