tc-testing: add support for sending various scapy packets
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Tue, 22 Jun 2021 15:05:01 +0000 (12:05 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jun 2021 17:52:39 +0000 (10:52 -0700)
commit11f04de9021a14566f2ddee0fc9edd9c1783077c
tree8ea70764ac85564f4745b9e25b80e1032efc7874
parentb4fd096cbb871340be837491fa1795864a48b2d9
tc-testing: add support for sending various scapy packets

It can be worth sending different scapy packets on a given test, as in the
last patch of this series. For that, lets listify the scapy attribute and
simply iterate over it.

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py