diff options
author | Liping Zhang <liping.zhang@spreadtrum.com> | 2016-10-07 19:08:55 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-14 18:59:36 +0200 |
commit | 1525081714ef5361e981325f20bc6b48a169570e (patch) | |
tree | 6bcc61dd1bcf795eca04366e774c0fc85f86ead8 /extensions/libip6t_SNPT.c | |
parent | 92a4ff6f0448bcb0b5909982a7ad317c23c89372 (diff) |
extensions: libxt_DSCP: add translation to nft
For example:
# iptables-translate -A OUTPUT -j DSCP --set-dscp 1
nft add rule ip filter OUTPUT counter ip dscp set 0x01
# ip6tables-translate -A OUTPUT -j DSCP --set-dscp 6
nft add rule ip6 filter OUTPUT counter ip6 dscp set 0x06
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_SNPT.c')
0 files changed, 0 insertions, 0 deletions