summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/0060set_multistmt_1.nft
blob: befc2f75bd42d4192c734d9f49a3a0f14048c1fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
table ip x {
	set y {
		type ipv4_addr
		size 65535
		flags dynamic
		counter quota 500 bytes
		elements = { 1.1.1.1 counter packets 0 bytes 0 quota 500 bytes,
			     1.2.3.4 counter packets 9 bytes 756 quota 500 bytes used 500 bytes,
			     2.2.2.2 counter packets 0 bytes 0 quota 1000 bytes }
	}

	chain y {
		type filter hook output priority filter; policy accept;
		update @y { ip daddr }
	}
}