• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ebtables-translate -A INPUT --mark-set 42
2nft add rule bridge filter INPUT mark set 0x2a counter
3
4ebtables-translate -A INPUT --mark-or 42 --mark-target RETURN
5nft add rule bridge filter INPUT mark set mark or 0x2a counter return
6
7ebtables-translate -A INPUT --mark-and 42 --mark-target ACCEPT
8nft add rule bridge filter INPUT mark set mark and 0x2a counter accept
9
10ebtables-translate -A INPUT --mark-xor 42 --mark-target DROP
11nft add rule bridge filter INPUT mark set mark xor 0x2a counter drop
12