diff options
author | Liping Zhang <liping.zhang@spreadtrum.com> | 2016-08-21 22:34:55 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-08-22 11:44:33 +0200 |
commit | 55f4d72776ab9a07fdc2ee07ccaada33df98c1a0 (patch) | |
tree | 5751ec401b9c376165845eb2f17d4c92f6c874a6 /extensions/libxt_socket.t | |
parent | bd1f88bf85100554d35e74273d907db1fdcd250f (diff) |
extensions: libxt_CLASSIFY: Add translation to nft
For examples:
# iptables-translate -A OUTPUT -j CLASSIFY --set-class 0:0
nft add rule ip filter OUTPUT counter meta priority set none
# iptables-translate -A OUTPUT -j CLASSIFY --set-class ffff:ffff
nft add rule ip filter OUTPUT counter meta priority set root
# iptables-translate -A OUTPUT -j CLASSIFY --set-class 1:234
nft add rule ip filter OUTPUT counter meta priority set 1:234
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_socket.t')
0 files changed, 0 insertions, 0 deletions