Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c799 } network_hdr; in fm10k_tx_csum() local
818 network_hdr.raw = skb_inner_network_header(skb); in fm10k_tx_csum()
822 network_hdr.raw = skb_network_header(skb); in fm10k_tx_csum()
828 l4_hdr = network_hdr.ipv4->protocol; in fm10k_tx_csum()
831 l4_hdr = network_hdr.ipv6->nexthdr; in fm10k_tx_csum()
832 if (likely((transport_hdr - network_hdr.raw) == in fm10k_tx_csum()
835 ipv6_skip_exthdr(skb, network_hdr.raw - skb->data + in fm10k_tx_csum()
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1346 } network_hdr; in wx_tx_csum() local
1353 network_hdr.raw = skb_inner_network_header(skb); in wx_tx_csum()
1395 network_hdr.raw = skb_network_header(skb); in wx_tx_csum()
1401 switch (network_hdr.ipv4->version) { in wx_tx_csum()
1403 vlan_macip_lens |= (transport_hdr.raw - network_hdr.raw) >> 1; in wx_tx_csum()
1404 l4_prot = network_hdr.ipv4->protocol; in wx_tx_csum()
1407 vlan_macip_lens |= (transport_hdr.raw - network_hdr.raw) >> 1; in wx_tx_csum()
1408 l4_prot = network_hdr.ipv6->nexthdr; in wx_tx_csum()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c1110 void *network_hdr, in chtls_recv_sock() argument
1129 iph = (const struct iphdr *)network_hdr; in chtls_recv_sock()
1145 ip6h = (const struct ipv6hdr *)network_hdr; in chtls_recv_sock()
1303 void *network_hdr; in chtls_pass_accept_request() local
1345 network_hdr = (void *)(eh + 1); in chtls_pass_accept_request()
1350 network_hdr = (void *)(vlan_eh + 1); in chtls_pass_accept_request()
1399 newsk = chtls_recv_sock(sk, oreq, network_hdr, req, cdev); in chtls_pass_accept_request()