Home
last modified time | relevance | path

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

1234

/linux/net/rxrpc/
H A Drxgk_app.c62 ret = skb_copy_bits(skb, ticket_offset, tmp, sizeof(tmp)); in rxgk_yfs_decode_ticket()
87 ret = skb_copy_bits(skb, ticket_offset, ticket, ticket_len); in rxgk_yfs_decode_ticket()
134 /* Ticket read in with skb_copy_bits above */ in rxgk_yfs_decode_ticket()
209 if (skb_copy_bits(skb, token_offset, &container, sizeof(container)) < 0) in rxgk_extract_token()
H A Dio_thread.c132 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), &v, 1) >= 0) { in rxrpc_input_version()
150 if (skb_copy_bits(skb, 0, &whdr, sizeof(whdr)) < 0) in rxrpc_extract_header()
167 if (skb_copy_bits(skb, sizeof(whdr), &ack, sizeof(ack)) < 0) in rxrpc_extract_header()
185 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), in rxrpc_extract_abort()
H A Drxgk.c546 ret = skb_copy_bits(skb, offset, &hdr, sizeof(hdr)); in rxgk_verify_packet_encrypted()
717 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), in rxgk_validate_challenge()
848 ret = skb_copy_bits(challenge, sizeof(struct rxrpc_wire_header), in rxgk_construct_authenticator()
1162 ret = skb_copy_bits(skb, auth_offset, auth, auth_len); in rxgk_verify_authenticator()
1208 if (skb_copy_bits(skb, offset, &rhdr, sizeof(rhdr)) < 0) in rxgk_verify_response()
1224 if (skb_copy_bits(skb, offset, &xauth_len, sizeof(xauth_len)) < 0) in rxgk_verify_response()
H A Drxkad.c467 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_1()
556 if (skb_copy_bits(skb, sp->offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_2()
798 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), in rxkad_validate_challenge()
1172 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header), in rxkad_verify_response()
1209 if (skb_copy_bits(skb, sizeof(struct rxrpc_wire_header) + sizeof(*response), in rxkad_verify_response()
/linux/net/netfilter/
H A 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()
H A Dnf_tables_trace.c39 if (!nla || skb_copy_bits(skb, off, nla_data(nla), len)) in trace_fill_header()
57 if (skb_copy_bits(skb, off, &veth, ETH_HLEN)) in nf_trace_fill_ll_header()
H A Dnft_exthdr.c43 return skb_copy_bits(skb, offset, dest, len); in nft_skb_copy_to_reg()
104 if (skb_copy_bits(skb, sizeof(struct iphdr), opt->__data, optlen)) in ipv4_find_option()
H A Dxt_HMARK.c142 if (skb_copy_bits(skb, nhoff, &t->uports, sizeof(t->uports)) < 0) in hmark_set_tuple_ports()
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dtrace-data.h62 skb_copy_bits(skb, offset, __get_dynamic_array(data),
/linux/net/rds/
H A 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/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_fcoe.c52 skb_copy_bits(skb, skb->len - 4, &eof, 1); in cxgb_fcoe_sof_eof_supported()
/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c274 if (skb_copy_bits(skb, ndpoffset, &ndp16, sizeof(ndp16))) { in mhi_mbim_rx()
310 if (skb_copy_bits(skb, dpeoffset, &dpe16, sizeof(dpe16))) in mhi_mbim_rx()
324 skb_copy_bits(skb, dgram_offset, skbn->data, dgram_len); in mhi_mbim_rx()
/linux/net/xfrm/
H A Despintcp.c64 err = skb_copy_bits(skb, rxm->offset + 2, &data, 1); in espintcp_rcv()
84 err = skb_copy_bits(skb, rxm->offset + 2, &nonesp_marker, in espintcp_rcv()
121 err = skb_copy_bits(skb, rxm->offset, &blen, sizeof(blen)); in espintcp_parse()
/linux/net/tls/
H A Dtls_strp.c56 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_skb_copy()
231 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag()
269 WARN_ON_ONCE(skb_copy_bits(in_skb, offset, in tls_strp_copyin_frag()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-devtrace-iwlwifi.h103 skb_copy_bits(skb, hdr_len,
/linux/arch/sparc/net/
H A Dbpf_jit_asm_32.S99 call skb_copy_bits; \
/linux/net/802/
H A Dmrp.c639 if (skb_copy_bits(skb, *offset, &endmark, sizeof(endmark)) < 0) in mrp_pdu_parse_end_mark()
715 if (skb_copy_bits(skb, *offset, mrp_cb(skb)->attrvalue, in mrp_pdu_parse_vecattr()
724 if (skb_copy_bits(skb, *offset, &vaevents, in mrp_pdu_parse_vecattr()
/linux/drivers/net/ovpn/
H A Dtcp.c52 err = skb_copy_bits(skb, rxm->offset, &blen, sizeof(blen)); in ovpn_tcp_parse()
86 err = skb_copy_bits(orig_skb, pkt_off, skb_put(ovpn_skb, pkt_len), in ovpn_tcp_skb_packet()
/linux/net/wireless/
H A Dutil.c538 ret = skb_copy_bits(skb, 0, &payload, sizeof(payload)); in ieee80211_strip_8023_mesh_hdr()
635 skb_copy_bits(skb, hdrlen, &payload, sizeof(payload)) == 0 && in ieee80211_data_to_8023_exthdr()
737 skb_copy_bits(skb, offset, skb_put(frame, cur_len), cur_len); in __ieee80211_amsdu_copy()
781 if (skb_copy_bits(skb, offset + 2 * ETH_ALEN, &hdr, sizeof(hdr)) < 0) in ieee80211_is_valid_amsdu()
836 skb_copy_bits(skb, offset, temp, ETH_ALEN); in is_amsdu_aggregation_attack()
873 skb_copy_bits(skb, offset, &hdr, copy_len); in ieee80211_amsdu_to_8023s()
/linux/net/sunrpc/
H A Dsocklib.c55 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len))) in xdr_skb_read_bits()
/linux/drivers/net/ethernet/sfc/siena/
H A Dtx.c99 rc = skb_copy_bits(skb, 0, copy_buffer, copy_len); in efx_enqueue_skb_copy()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c56 ret = skb_copy_bits(skb, skb->len - alen - 2, &plen, 1); in mlx5e_ipsec_remove_trailer()
/linux/net/x25/
H A Dx25_in.c135 skb_copy_bits(skb, 0, x25->calluserdata.cuddata, in x25_state1_machine()
/linux/net/core/
H A Dskbuff.c963 err = skb_copy_bits(skb, 0, nskb->data, size); in skb_pp_cow_data()
989 err = skb_copy_bits(skb, off, page_address(page) + page_off, in skb_pp_cow_data()
2192 BUG_ON(skb_copy_bits(skb, -headerlen, n->head, headerlen + skb->len)); in skb_copy()
2529 BUG_ON(skb_copy_bits(skb, -head_copy_len, n->head + head_copy_off, in skb_copy_expand()
2859 BUG_ON(skb_copy_bits(skb, skb_headlen(skb), in __pskb_pull_tail()
2986 int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len) in skb_copy_bits() function
3049 if (skb_copy_bits(frag_iter, offset - start, to, copy)) in skb_copy_bits()
3065 EXPORT_SYMBOL(skb_copy_bits);
3855 return skb_copy_bits(from, 0, skb_put(to, len), len); in skb_zerocopy()
3858 ret = skb_copy_bits(from, 0, skb_put(to, hlen), hlen); in skb_zerocopy()
[all …]
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_target.c1132 skb_copy_bits(csk->skb, pdu_cb->doffset, in cxgbit_handle_nop_out()
1193 skb_copy_bits(csk->skb, pdu_cb->doffset, in cxgbit_handle_text_cmd()
1359 skb_copy_bits(csk->skb, pdu_cb->doffset, login->req_buf, pdu_cb->dlen); in cxgbit_rx_login_pdu()

1234