Home
last modified time | relevance | path

Searched refs:network_hdr (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c839 } network_hdr; in fm10k_tx_csum() local
856 network_hdr.raw = skb_inner_network_header(skb); in fm10k_tx_csum()
859 network_hdr.raw = skb_network_header(skb); in fm10k_tx_csum()
864 l4_hdr = network_hdr.ipv4->protocol; in fm10k_tx_csum()
867 l4_hdr = network_hdr.ipv6->nexthdr; in fm10k_tx_csum()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7022 } network_hdr; in ixgbe_tx_csum() local
7029 network_hdr.raw = skb_inner_network_header(skb); in ixgbe_tx_csum()
7034 network_hdr.raw = skb_network_header(skb); in ixgbe_tx_csum()
7041 switch (network_hdr.ipv4->version) { in ixgbe_tx_csum()
7043 vlan_macip_lens |= transport_hdr.raw - network_hdr.raw; in ixgbe_tx_csum()
7045 l4_hdr = network_hdr.ipv4->protocol; in ixgbe_tx_csum()
7048 vlan_macip_lens |= transport_hdr.raw - network_hdr.raw; in ixgbe_tx_csum()
7049 l4_hdr = network_hdr.ipv6->nexthdr; in ixgbe_tx_csum()
7055 network_hdr.ipv4->version); in ixgbe_tx_csum()