]> 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)
commit8933e2ded680544326e1d5e079c4d529958beb06
tree8ea70764ac85564f4745b9e25b80e1032efc7874
parent2ef5904aa88f8d8f255c7f310a28569917ea67cf
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