diff options
| author | Xin Long <lucien.xin@gmail.com> | 2023-01-28 10:58:30 -0500 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-01 20:54:27 -0800 |
| commit | 058a8f7f73aae1cc22b53fcefec031b9e391b54d (patch) | |
| tree | 84e3a78af92605ddbc9897dd46432d5c18d1696b /tools/perf/scripts/python | |
| parent | Merge branch 'virtio_net-vdpa-update-mac-address-when-it-is-generated-by-virt... (diff) | |
| download | linux-058a8f7f73aae1cc22b53fcefec031b9e391b54d.tar.gz 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
