blob: 13c4acef40b990cc97b1a02b014c67352f548db2 (
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 t
add chain t c { type filter hook output priority filter; }
add rule t c ct mark set ct mark | ip dscp | 0x200 counter
"
$NFT -f - <<< "$RULESET"
|