diff options
author | Florian Westphal <fw@strlen.de> | 2018-11-02 16:19:20 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-11-03 20:35:22 +0100 |
commit | c3e8dbd4139589245403fd06479af9725c2bc341 (patch) | |
tree | 6a8a2b41b7891620875b3349930e68b267675b0a /extensions/libebt_pkttype.t | |
parent | cd90cef0c18a996f499c9e31fff7ee0554fe39f9 (diff) |
ebtables: add test cases
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libebt_pkttype.t')
-rw-r--r-- | extensions/libebt_pkttype.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extensions/libebt_pkttype.t b/extensions/libebt_pkttype.t new file mode 100644 index 00000000..921cf3ac --- /dev/null +++ b/extensions/libebt_pkttype.t @@ -0,0 +1,13 @@ +:INPUT,FORWARD,OUTPUT +-s 0:0:0:0:0:0;=;OK +-d 00:00:0:00:00:00;-d 0:0:0:0:0:0;OK +-s de:ad:be:ef:0:00 -j RETURN;-s de:ad:be:ef:0:0 -j RETURN;OK +-d de:ad:be:ef:0:0;=;OK +! --pkttype-type host;--pkttype-type ! host -j CONTINUE;OK +--pkttype-type host;=;OK +--pkttype-type broadcast;=;OK +--pkttype-type ! multicast;=;OK +--pkttype-type multicast;=;OK +--pkttype-type otherhost;=;OK +--pkttype-type outgoing;=;OK +--pkttype-type loopback;=;OK |