Lines Matching refs:pkt_hdr
1353 ax88179_rx_checksum(struct sk_buff *skb, u32 *pkt_hdr) in ax88179_rx_checksum() argument
1358 if ((*pkt_hdr & AX_RXHDR_L3CSUM_ERR) || in ax88179_rx_checksum()
1359 (*pkt_hdr & AX_RXHDR_L4CSUM_ERR)) in ax88179_rx_checksum()
1363 if (((*pkt_hdr & AX_RXHDR_L4_TYPE_MASK) == AX_RXHDR_L4_TYPE_TCP) || in ax88179_rx_checksum()
1364 ((*pkt_hdr & AX_RXHDR_L4_TYPE_MASK) == AX_RXHDR_L4_TYPE_UDP)) in ax88179_rx_checksum()
1374 u32 *pkt_hdr; in ax88179_rx_fixup() local
1386 pkt_hdr = (u32 *)(skb->data + hdr_off); in ax88179_rx_fixup()
1391 le32_to_cpus(pkt_hdr); in ax88179_rx_fixup()
1392 pkt_len = (*pkt_hdr >> 16) & 0x1fff; in ax88179_rx_fixup()
1395 if ((*pkt_hdr & AX_RXHDR_CRC_ERR) || in ax88179_rx_fixup()
1396 (*pkt_hdr & AX_RXHDR_DROP_ERR)) { in ax88179_rx_fixup()
1398 pkt_hdr++; in ax88179_rx_fixup()
1408 ax88179_rx_checksum(skb, pkt_hdr); in ax88179_rx_fixup()
1418 ax88179_rx_checksum(ax_skb, pkt_hdr); in ax88179_rx_fixup()
1425 pkt_hdr++; in ax88179_rx_fixup()