Home
last modified time | relevance | path

Searched refs:pkt_data (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dkfree_skb.c68 unsigned short pkt_data; in BPF_PROG() local
92 bpf_probe_read_kernel(&pkt_data, sizeof(pkt_data), data + 12); in BPF_PROG()
99 meta.ifindex, data, pkt_data); in BPF_PROG()
102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1) in BPF_PROG()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dkfunc_module_order.c25 char pkt_data[64] = {}; in test_kfunc_module_order() local
28 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, test_opts, .data_in = pkt_data, in test_kfunc_module_order()
29 .data_size_in = sizeof(pkt_data)); in test_kfunc_module_order()
/linux-6.12.1/tools/testing/selftests/bpf/
Dxskxceiver.c997 u32 seqnum, pkt_nb, *pkt_data, words_to_end, expected_seqnum; in is_frag_valid() local
1014 pkt_data = data; in is_frag_valid()
1016 pkt_data += PKT_HDR_SIZE / sizeof(*pkt_data); in is_frag_valid()
1022 expected_seqnum = bytes_processed / sizeof(*pkt_data); in is_frag_valid()
1023 seqnum = ntohl(*pkt_data) & 0xffff; in is_frag_valid()
1024 pkt_nb = ntohl(*pkt_data) >> 16; in is_frag_valid()
1037 words_to_end = len / sizeof(*pkt_data) - 1; in is_frag_valid()
1038 pkt_data += words_to_end; in is_frag_valid()
1039 seqnum = ntohl(*pkt_data) & 0xffff; in is_frag_valid()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c384 unsigned char *pkt_data, *orig_data, *dst_data; in brcmf_sdiod_sglist_rw() local
451 pkt_data = pkt_next->data + pkt_offset; in brcmf_sdiod_sglist_rw()
458 sg_set_buf(sgl, pkt_data, sg_data_sz); in brcmf_sdiod_sglist_rw()
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c1866 struct unaligned_opaque_data *pkt_data, in qed_iwarp_init_fpdu() argument
1869 u16 first_mpa_offset = le16_to_cpu(pkt_data->first_mpa_offset); in qed_iwarp_init_fpdu()
1873 fpdu->pkt_hdr_size = pkt_data->tcp_payload_offset; in qed_iwarp_init_fpdu()
1890 struct unaligned_opaque_data *pkt_data, in qed_iwarp_cp_pkt() argument
1893 u16 first_mpa_offset = le16_to_cpu(pkt_data->first_mpa_offset); in qed_iwarp_cp_pkt()
/linux-6.12.1/drivers/net/ethernet/nvidia/
Dforcedeth.c5146 u8 *pkt_data; in nv_loopback_test() local
5192 pkt_data = skb_put(tx_skb, pkt_len); in nv_loopback_test()
5194 pkt_data[i] = (u8)(i & 0xff); in nv_loopback_test()