Searched refs:pkt_hdr (Results 1 – 8 of 8) sorted by relevance
210 uint32_t *pkt_hdr; member545 u32 *pkt_hdr; in asix_recv() local576 pkt_hdr = (u32 *)(recv_buf + hdr_off); in asix_recv()584 le32_to_cpus(pkt_hdr); in asix_recv()585 pkt_len = (*pkt_hdr >> 16) & 0x1fff; in asix_recv()591 pkt_hdr++; in asix_recv()766 priv->pkt_hdr = NULL; in ax88179_eth_stop()826 priv->pkt_hdr = (u32 *)(ptr + hdr_off); in ax88179_eth_recv()831 le32_to_cpus(priv->pkt_hdr); in ax88179_eth_recv()832 pkt_len = (*priv->pkt_hdr >> 16) & 0x1fff; in ax88179_eth_recv()[all …]
117 struct virtio_vsock_hdr *pkt_hdr; in virtio_transport_build_skb() local128 pkt_hdr = virtio_vsock_hdr(pkt); in virtio_transport_build_skb()132 skb = alloc_skb(sizeof(*hdr) + sizeof(*pkt_hdr) + payload_len, in virtio_transport_build_skb()140 hdr->src_cid = pkt_hdr->src_cid; in virtio_transport_build_skb()141 hdr->src_port = pkt_hdr->src_port; in virtio_transport_build_skb()142 hdr->dst_cid = pkt_hdr->dst_cid; in virtio_transport_build_skb()143 hdr->dst_port = pkt_hdr->dst_port; in virtio_transport_build_skb()146 hdr->len = cpu_to_le16(sizeof(*pkt_hdr)); in virtio_transport_build_skb()149 switch (le16_to_cpu(pkt_hdr->op)) { in virtio_transport_build_skb()170 skb_put_data(skb, pkt_hdr, sizeof(*pkt_hdr)); in virtio_transport_build_skb()
1346 ax88179_rx_checksum(struct sk_buff *skb, u32 *pkt_hdr) in ax88179_rx_checksum() argument1351 if ((*pkt_hdr & AX_RXHDR_L3CSUM_ERR) || in ax88179_rx_checksum()1352 (*pkt_hdr & AX_RXHDR_L4CSUM_ERR)) in ax88179_rx_checksum()1356 if (((*pkt_hdr & AX_RXHDR_L4_TYPE_MASK) == AX_RXHDR_L4_TYPE_TCP) || in ax88179_rx_checksum()1357 ((*pkt_hdr & AX_RXHDR_L4_TYPE_MASK) == AX_RXHDR_L4_TYPE_UDP)) in ax88179_rx_checksum()1367 u32 *pkt_hdr; in ax88179_rx_fixup() local1424 pkt_hdr = (u32 *)(skb->data + hdr_off); in ax88179_rx_fixup()1429 for (; pkt_cnt > 0; pkt_cnt--, pkt_hdr++) { in ax88179_rx_fixup()1433 le32_to_cpus(pkt_hdr); in ax88179_rx_fixup()1434 pkt_len = (*pkt_hdr >> 16) & 0x1fff; in ax88179_rx_fixup()[all …]
84 struct pkt_hdr { struct188 struct pkt_hdr *header; in solos_param_show()243 struct pkt_hdr *header; in solos_param_store()468 struct pkt_hdr *header; in send_command()773 struct pkt_hdr _hdr, *header; in solos_bh()922 struct pkt_hdr *header; in popen()956 struct pkt_hdr *header; in pclose()1106 struct pkt_hdr *header = (void *)oldskb->data; in fpga_tx()1140 struct pkt_hdr *header; in psend()1358 struct pkt_hdr *header; in atm_init()
28 struct pkt_hdr { struct383 struct pkt_hdr *hdr = (void *)__data; in sd_pkt_scan()
328 union pkt_hdr { union405 union pkt_hdr irh;
56 dma_addr_t pkt_hdr; member
1872 fpdu->pkt_hdr = buf->data_phys_addr + placement_offset; in qed_iwarp_init_fpdu()1996 tx_pkt.first_frag = fpdu->pkt_hdr; in qed_iwarp_recycle_pkt()2029 tx_pkt.first_frag = fpdu->pkt_hdr; in qed_iwarp_win_right_edge()2082 tx_pkt.first_frag = fpdu->pkt_hdr; in qed_iwarp_send_fpdu()