From 6b29a5bebb957387fe1aac8fcbfd431e6be237f0 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Fri, 11 Dec 2015 11:10:14 +0100 Subject: tests/: rearrange tests directory Rearrange the directory to obtain a better organization of files and tests-suites. We end with a tree like this: tests | .--- py .--- shell .--- files This was suggested by Pablo. Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- tests/files/payload-ll | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/files/payload-ll (limited to 'tests/files/payload-ll') diff --git a/tests/files/payload-ll b/tests/files/payload-ll new file mode 100644 index 00000000..7f5660b1 --- /dev/null +++ b/tests/files/payload-ll @@ -0,0 +1,15 @@ +#! nft -f + +add table ip filter +add chain ip filter input { type filter hook input priority 0; } + +# mac source +add rule ip filter input @ll,48,48 00:15:e9:f0:10:f8 counter + +# mac dest +add rule ip filter input @ll,0,48 00:1b:21:02:6f:ad counter + +# mac source and mac dest +add rule ip filter input @ll,0,48 00:1b:21:02:6f:ad \ + @ll,48,48 00:15:e9:f0:10:f8 \ + counter -- cgit v1.2.3