]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit961b91947cb8b8b876a565b61881da6a05aeb25a
tree8ea70764ac85564f4745b9e25b80e1032efc7874
parent1db308d1ca668dc20f32f2efb6efaccb3040aeb0
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