diff options
author | Guillaume Nault <gnault@redhat.com> | 2024-11-14 19:03:38 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-11-15 13:00:29 +0300 |
commit | f694ce6de58930146037aa3f69a534e98b007ff3 (patch) | |
tree | 982b495a7898b51a2fc2785ade0c1c9523922399 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6f9615a6e686bc0acfb5a02050a50782a6a378b2 (diff) | |
download | linux-f694ce6de58930146037aa3f69a534e98b007ff3.tar.xz |
netfilter: rpfilter: Convert rpfilter_mt() to dscp_t.
Use ip4h_dscp() instead of reading iph->tos directly.
ip4h_dscp() returns a dscp_t value which is temporarily converted back
to __u8 with inet_dscp_to_dsfield(). When converting ->flowi4_tos to
dscp_t in the future, we'll only have to remove that
inet_dscp_to_dsfield() call.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions