OpenCloudOS-Kernel/drivers/net/ethernet/qlogic/netxen
Eric Dumazet 504148fedb net: add skb_[inner_]tcp_all_headers helpers
Most drivers use "skb_transport_offset(skb) + tcp_hdrlen(skb)"
to compute headers length for a TCP packet, but others
use more convoluted (but equivalent) ways.

Add skb_tcp_all_headers() and skb_inner_tcp_all_headers()
helpers to harmonize this a bit.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-02 16:22:25 +01:00
..
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic.h netxen_nic: Remove the repeated declaration 2021-08-25 11:04:53 +01:00
netxen_nic_ctx.c netxen_nic: switch from 'pci_' to 'dma_' API 2021-01-15 16:41:29 -08:00
netxen_nic_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
netxen_nic_hdr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_hw.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_init.c netxen_nic: Fix fall-through warnings for Clang 2021-05-17 19:08:30 -05:00
netxen_nic_main.c net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00