xref: /aosp_15_r20/external/iptables/extensions/libip6t_hl.txlate (revision a71a954618bbadd4a345637e5edcf36eec826889)
1ip6tables-translate -t nat -A postrouting -m hl --hl-gt 3
2nft 'add rule ip6 nat postrouting ip6 hoplimit gt 3 counter'
3
4ip6tables-translate -t nat -A postrouting -m hl ! --hl-eq 3
5nft 'add rule ip6 nat postrouting ip6 hoplimit != 3 counter'
6