summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optimizations/dumps/merge_stmts_concat.nft
blob: f56cea1c4fd7b24af659e3a9ae45b58cde8a38b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
table ip x {
	chain y {
		iifname . ip saddr . ip daddr { "eth1" . 1.1.1.1 . 2.2.2.3, "eth1" . 1.1.1.2 . 2.2.2.4, "eth1" . 1.1.1.2 . 2.2.3.0/24, "eth1" . 1.1.1.2 . 2.2.4.0-2.2.4.10, "eth2" . 1.1.1.3 . 2.2.2.5 } accept
		ip protocol . th dport { tcp . 22, udp . 67 }
	}

	chain c1 {
		udp dport . iifname { 51820 . "foo", 514 . "bar", 67 . "bar" } accept
	}

	chain c2 {
		udp dport . iifname { 100 . "foo", 51820 . "foo", 514 . "bar", 67 . "bar" } accept
	}

	chain c3 {
		udp dport . iifname { 100 . "foo", 51820 . "foo", 514 . "bar", 67 . "bar", 100 . "test", 51820 . "test" } accept
	}
}