• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ebtables-translate -A INPUT --pkttype-type host
2nft add rule bridge filter INPUT meta pkttype host counter
3
4ebtables-translate -A INPUT ! --pkttype-type broadcast
5nft add rule bridge filter INPUT meta pkttype != broadcast counter
6
7ebtables-translate -A INPUT --pkttype-type ! multicast
8nft add rule bridge filter INPUT meta pkttype != multicast counter
9
10ebtables-translate -A INPUT --pkttype-type otherhost
11nft add rule bridge filter INPUT meta pkttype other counter
12
13ebtables-translate -A INPUT --pkttype-type outgoing
14nft add rule bridge filter INPUT meta pkttype 4 counter
15
16ebtables-translate -A INPUT --pkttype-type loopback
17nft add rule bridge filter INPUT meta pkttype 5 counter
18
19ebtables-translate -A INPUT --pkttype-type fastroute
20nft add rule bridge filter INPUT meta pkttype 6 counter
21