diff options
author | Xin Long <lucien.xin@gmail.com> | 2023-01-28 16:58:30 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-02 05:54:27 +0100 |
commit | 058a8f7f73aae1cc22b53fcefec031b9e391b54d (patch) | |
tree | 84e3a78af92605ddbc9897dd46432d5c18d1696b /include/crypto/hash_info.h | |
parent | Merge branch 'virtio_net-vdpa-update-mac-address-when-it-is-generated-by-virt... (diff) | |
download | linux-058a8f7f73aae1cc22b53fcefec031b9e391b54d.tar.xz linux-058a8f7f73aae1cc22b53fcefec031b9e391b54d.zip |
net: add a couple of helpers for iph tot_len
This patch adds three APIs to replace the iph->tot_len setting
and getting in all places where IPv4 BIG TCP packets may reach,
they will be used in the following patches.
Note that iph_totlen() will be used when iph is not in linear
data of the skb.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/crypto/hash_info.h')
0 files changed, 0 insertions, 0 deletions