summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/typeof_sets_concat.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/sets/dumps/typeof_sets_concat.nft')
-rw-r--r--tests/shell/testcases/sets/dumps/typeof_sets_concat.nft23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/dumps/typeof_sets_concat.nft b/tests/shell/testcases/sets/dumps/typeof_sets_concat.nft
new file mode 100644
index 00000000..348b5848
--- /dev/null
+++ b/tests/shell/testcases/sets/dumps/typeof_sets_concat.nft
@@ -0,0 +1,23 @@
+table netdev t {
+ set s {
+ typeof ether saddr . vlan id
+ size 2048
+ flags dynamic,timeout
+ }
+
+ chain c {
+ ether type != 8021q add @s { ether saddr . 0 timeout 5s } counter packets 0 bytes 0 return
+ ether type != 8021q update @s { ether daddr . 123 timeout 1m } counter packets 0 bytes 0 return
+ }
+}
+table ip t {
+ set s {
+ typeof ipsec in reqid . iif
+ size 16
+ flags interval
+ }
+
+ chain c2 {
+ ipsec in reqid . "lo" @s
+ }
+}