summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bitwise/0044payload_binop_5
blob: 7e8095c83a8c3e68f2ca96a59e542dea1f17d1c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitwise_multireg)

set -e

RULESET="
  add table ip6 t
  add chain ip6 t c { type filter hook output priority filter; }
  add rule ip6 t c ct mark set ct mark | ip6 dscp | 0x200 counter
"

$NFT -f - <<< "$RULESET"