summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/0060set_multistmt_1.nft
blob: 0743453f62e045aa5a6cce0387735c7d7ed1d925 (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	# count 3
		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 }
	}
}