diff options
author | 2022-03-03 16:01:21 +0200 | |
---|---|---|
committer | 2022-03-04 09:21:23 +0000 | |
commit | c3cde44f3c6e44ce42368066dede0bc3c9b1952a (patch) | |
tree | a37cdec5ba094927b39675487267c47cc25e4617 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: mscc: ocelot: use list_for_each_entry in ocelot_vcap_block_remove_filter (diff) | |
download | linux-dev-c3cde44f3c6e44ce42368066dede0bc3c9b1952a.tar.xz linux-dev-c3cde44f3c6e44ce42368066dede0bc3c9b1952a.zip |
net: mscc: ocelot: use pretty names for IPPROTO_UDP and IPPROTO_TCP
Hardcoding these IP protocol numbers in is2_entry_set() obscures the
purpose of the code, so replace the magic numbers with the definitions
from linux/in.h.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions