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

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 ip6 dscp lshift 26 or 0x10
"

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