Home
last modified time | relevance | path

Searched refs:skb_copy_bits (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.6.21/net/netfilter/
Dxt_u32.c42 if (skb_copy_bits(skb, pos, &n, sizeof(n)) < 0) in u32_match_it()
69 if (skb_copy_bits(skb, at + pos, &n, in u32_match_it()
Dnft_payload.c31 if (skb_copy_bits(skb, mac_off, veth, ETH_HLEN)) in nft_payload_rebuild_vlan_hdr()
60 skb_copy_bits(skb, mac_off, &veth, VLAN_ETH_HLEN) < 0) in nft_payload_copy_vlan()
80 return skb_copy_bits(skb, offset + mac_off, dst_u8, len) == 0; in nft_payload_copy_vlan()
213 if (skb_copy_bits(skb, offset, dest, priv->len) < 0) in nft_payload_eval()
647 if (skb_copy_bits(skb, offset, dest, priv->len) < 0) in nft_payload_inner_eval()
763 if (skb_copy_bits(skb, l4csum_offset, &sum, sizeof(sum)) < 0) in nft_payload_l4csum_update()
792 if (skb_copy_bits(skb, csum_offset, &sum, sizeof(sum)) < 0) in nft_payload_csum_inet()
Dnf_tables_trace.c38 if (!nla || skb_copy_bits(skb, off, nla_data(nla), len)) in trace_fill_header()
56 if (skb_copy_bits(skb, off, &veth, ETH_HLEN)) in nf_trace_fill_ll_header()
Dnf_conntrack_amanda.c137 if (skb_copy_bits(skb, off, pbuf, len)) in amanda_help()
Dxt_HMARK.c142 if (skb_copy_bits(skb, nhoff, &t->uports, sizeof(t->uports)) < 0) in hmark_set_tuple_ports()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mei/
Dtrace-data.h62 skb_copy_bits(skb, offset, __get_dynamic_array(data),
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_fcoe.c52 skb_copy_bits(skb, skb->len - 4, &eof, 1); in cxgb_fcoe_sof_eof_supported()
/linux-6.6.21/net/rds/
Dtcp_recv.c133 ret = skb_copy_bits(skb, skb_off, in rds_tcp_cong_recv()
198 skb_copy_bits(skb, offset, in rds_tcp_data_recv()
/linux-6.6.21/net/rxrpc/
Dio_thread.c112 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), &v, 1) >= 0) { in rxrpc_input_version()
129 if (skb_copy_bits(skb, 0, &whdr, sizeof(whdr)) < 0) in rxrpc_extract_header()
154 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), in rxrpc_extract_abort()
Drxkad.c442 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_1()
522 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_2()
808 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), in rxkad_respond_to_challenge()
1057 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), in rxkad_verify_response()
1094 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header) + sizeof(*response), in rxkad_verify_response()
Dinput.c526 if (skb_copy_bits(skb, offset + RXRPC_JUMBO_DATALEN, in rxrpc_input_split_jumbo()
848 if (skb_copy_bits(skb, offset, &ack, sizeof(ack)) < 0) in rxrpc_input_ack()
923 skb_copy_bits(skb, ioffset, &info, sizeof(info)) < 0) in rxrpc_input_ack()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_qp_rx.c57 rv = skb_copy_bits(srx->skb, srx->skb_offset, dest + pg_off, in siw_rx_umem()
110 rv = skb_copy_bits(srx->skb, srx->skb_offset, kva, len); in siw_rx_kva()
921 skb_copy_bits(skb, srx->skb_offset, infop, to_copy); in siw_proc_terminate()
940 skb_copy_bits(skb, srx->skb_offset, infop, to_copy); in siw_proc_terminate()
971 skb_copy_bits(skb, srx->skb_offset, tbuf, avail); in siw_get_trailer()
1023 skb_copy_bits(skb, srx->skb_offset, in siw_get_hdr()
1091 skb_copy_bits(skb, srx->skb_offset, in siw_get_hdr()
/linux-6.6.21/drivers/net/wwan/
Dmhi_wwan_mbim.c262 if (skb_copy_bits(skb, ndpoffset, &ndp16, sizeof(ndp16))) { in mhi_mbim_rx()
298 if (skb_copy_bits(skb, dpeoffset, &dpe16, sizeof(dpe16))) in mhi_mbim_rx()
312 skb_copy_bits(skb, dgram_offset, skbn->data, dgram_len); in mhi_mbim_rx()
/linux-6.6.21/net/tls/
Dtls_strp.c55 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_skb_copy()
224 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag()
262 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag()
/linux-6.6.21/net/xfrm/
Despintcp.c66 err = skb_copy_bits(skb, rxm->offset + 2, &data, 1); in espintcp_rcv()
86 err = skb_copy_bits(skb, rxm->offset + 2, &nonesp_marker, in espintcp_rcv()
123 err = skb_copy_bits(skb, rxm->offset, &blen, sizeof(blen)); in espintcp_parse()
/linux-6.6.21/drivers/staging/rtl8712/
Dxmit_linux.c53 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, in _r8712_pktfile_read()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace-iwlwifi.h106 skb_copy_bits(skb, hdr_len,
/linux-6.6.21/arch/sparc/net/
Dbpf_jit_asm_32.S99 call skb_copy_bits; \
/linux-6.6.21/net/802/
Dmrp.c638 if (skb_copy_bits(skb, *offset, &endmark, sizeof(endmark)) < 0) in mrp_pdu_parse_end_mark()
714 if (skb_copy_bits(skb, *offset, mrp_cb(skb)->attrvalue, in mrp_pdu_parse_vecattr()
723 if (skb_copy_bits(skb, *offset, &vaevents, in mrp_pdu_parse_vecattr()
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c33 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read()
/linux-6.6.21/net/wireless/
Dutil.c571 ret = skb_copy_bits(skb, 0, &payload, sizeof(payload)); in ieee80211_strip_8023_mesh_hdr()
667 skb_copy_bits(skb, hdrlen, &payload, sizeof(payload)) == 0 && in ieee80211_data_to_8023_exthdr()
769 skb_copy_bits(skb, offset, skb_put(frame, cur_len), cur_len); in __ieee80211_amsdu_copy()
809 if (skb_copy_bits(skb, offset + 2 * ETH_ALEN, &hdr, sizeof(hdr)) < 0) in ieee80211_is_valid_amsdu()
852 skb_copy_bits(skb, offset, &hdr, copy_len); in ieee80211_amsdu_to_8023s()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dtx.c99 rc = skb_copy_bits(skb, 0, copy_buffer, copy_len); in efx_enqueue_skb_copy()
/linux-6.6.21/net/sunrpc/
Dsocklib.c51 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len))) in xdr_skb_read_bits()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c56 ret = skb_copy_bits(skb, skb->len - alen - 2, &plen, 1); in mlx5e_ipsec_remove_trailer()
/linux-6.6.21/net/x25/
Dx25_in.c132 skb_copy_bits(skb, 0, x25->calluserdata.cuddata, in x25_state1_machine()

1234