summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/vmap_mark_bitwise_0.nft
blob: beb5ffb098f5948378eae127b951f281a16e56c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
table ip x {
	counter c_o0_0 {
		packets 0 bytes 0
	}

	map sctm_o0 {
		type mark : verdict
		elements = { 0x00000000 : jump sctm_o0_0, 0x00000001 : jump sctm_o0_1 }
	}

	map sctm_o1 {
		type mark : counter
		elements = { 0x00000000 : "c_o0_0" }
	}

	chain sctm_o0_0 {
	}

	chain sctm_o0_1 {
	}

	chain SET_ctmark_RPLYroute {
		meta mark >> 8 & 0xf vmap @sctm_o0
		counter name meta mark >> 8 & 0xf map @sctm_o1
	}
}