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

# NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitshift)

set -e

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

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