Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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()
/openbmc/qemu/hw/hyperv/
H A Dsyndbg.c107 const void *pkt_data; in handle_send_msg() local
124 pkt_data = (const void *)((uintptr_t)debug_data + udp_data_ofs); in handle_send_msg()
125 sent_count = sendto(syndbg->socket, pkt_data, count - udp_data_ofs, in handle_send_msg()
/openbmc/u-boot/drivers/usb/eth/
H A Dasix88179.c209 uint8_t *pkt_data; member
765 priv->pkt_data = NULL; in ax88179_eth_stop()
825 priv->pkt_data = ptr; in ax88179_eth_recv()
834 *packetp = priv->pkt_data + 2; in ax88179_eth_recv()
836 priv->pkt_data += (pkt_len + 7) & 0xFFF8; in ax88179_eth_recv()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c852 u32 seqnum, pkt_nb, *pkt_data, words_to_end, expected_seqnum; in is_frag_valid() local
867 pkt_data = data; in is_frag_valid()
869 pkt_data += PKT_HDR_SIZE / sizeof(*pkt_data); in is_frag_valid()
875 expected_seqnum = bytes_processed / sizeof(*pkt_data); in is_frag_valid()
876 seqnum = ntohl(*pkt_data) & 0xffff; in is_frag_valid()
877 pkt_nb = ntohl(*pkt_data) >> 16; in is_frag_valid()
890 words_to_end = len / sizeof(*pkt_data) - 1; in is_frag_valid()
891 pkt_data += words_to_end; in is_frag_valid()
892 seqnum = ntohl(*pkt_data) & 0xffff; in is_frag_valid()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A 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()
/openbmc/qemu/hw/net/
H A Dvmxnet3.c847 const void *pkt_data, in vmxnet3_rx_need_csum_calculate() argument
878 data = (uint8_t *)pkt_data + vhdr->csum_start; in vmxnet3_rx_need_csum_calculate()
/openbmc/linux/drivers/net/ethernet/nvidia/
H A 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()