summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/0008interval_map_delete_0.nft
blob: a470a340655fa7969343cc7abd65be2034c08345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
table ip filter {
	map m {
		type ipv4_addr : mark
		flags interval
		elements = { 127.0.0.2 : 0x00000002, 127.0.0.3 : 0x00000003 }
	}

	chain input {
		type filter hook input priority filter; policy accept;
		meta mark set ip daddr map @m
		meta mark 0x00000002 counter packets 0 bytes 0 accept
		meta mark 0x00000003 counter packets 0 bytes 0 accept
		counter packets 0 bytes 0
	}
}