selftests: forwarding: Add a test for pedit munge tcp, udp sport, dport
authorPetr Machata <petrm@mellanox.com>
Sun, 21 Jun 2020 08:34:36 +0000 (11:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2020 23:32:11 +0000 (16:32 -0700)
commit13bd5d025602bb5374f54e144dec577b74718493
treed63d9bd8fe003d4e5d144a995317107ef60664b6
parentce10d7d4ad08396055a38d78b87a144307fc14a9
selftests: forwarding: Add a test for pedit munge tcp, udp sport, dport

Add a test that checks that pedit adjusts port numbers of tcp and udp
packets.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/pedit_l4port.sh [new file with mode: 0755]