summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/sunxi_sid.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-06-30 17:07:50 +0200
committerDavid S. Miller <davem@davemloft.net>2022-07-02 17:22:25 +0200
commit504148fedb854299972d164b001357b888a9193e (patch)
tree6039f99c8ba79b59026808ea7d9de215d1c59903 /drivers/nvmem/sunxi_sid.c
parentqlogic/qed: fix repeated words in comments (diff)
downloadlinux-504148fedb854299972d164b001357b888a9193e.tar.xz
linux-504148fedb854299972d164b001357b888a9193e.zip
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>
Diffstat (limited to 'drivers/nvmem/sunxi_sid.c')
0 files changed, 0 insertions, 0 deletions