summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/typeof_sets_1.nft
blob: 89cbc835883116946a16b4d099cf73a04ebce9db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
table bridge t {
	set nodhcpvlan {
		typeof vlan id
		elements = { 1 }
	}

	chain c1 {
		vlan id != @nodhcpvlan vlan type arp counter packets 0 bytes 0 jump c2
		vlan id != @nodhcpvlan vlan type ip counter packets 0 bytes 0 jump c2
		vlan id != { 1, 2 } vlan type ip6 counter packets 0 bytes 0 jump c2
	}

	chain c2 {
	}
}