summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bitwise/0040mark_binop_4
blob: adc5f25ba930a318eac4e31945cc3bc1da009d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -e

RULESET="
  add table t
  add chain t c { type filter hook output priority filter; }
  add rule t c ct mark set ip dscp lshift 26 or 0x10
"

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