xref: /aosp_15_r20/external/iptables/extensions/libxt_mark.txlate (revision a71a954618bbadd4a345637e5edcf36eec826889)
1iptables-translate -I INPUT -p tcp -m mark ! --mark 0xa/0xa
2nft 'insert rule ip filter INPUT ip protocol tcp mark and 0xa != 0xa counter'
3
4iptables-translate -I INPUT -p tcp -m mark ! --mark 0x1
5nft 'insert rule ip filter INPUT ip protocol tcp mark != 0x1 counter'
6