• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ebtables-translate -A INPUT --mark 42
2nft add rule bridge filter INPUT meta mark 0x2a counter
3
4ebtables-translate -A INPUT ! --mark 42
5nft add rule bridge filter INPUT meta mark != 0x2a counter
6
7ebtables-translate -A INPUT --mark ! 42
8nft add rule bridge filter INPUT meta mark != 0x2a counter
9
10ebtables-translate -A INPUT --mark ! 0x1/0xff
11nft add rule bridge filter INPUT meta mark and 0xff != 0x1 counter
12
13ebtables-translate -A INPUT --mark /0x02
14nft add rule bridge filter INPUT meta mark and 0x2 != 0 counter
15