diff options
author | Jack Ma <jack.ma@alliedtelesis.co.nz> | 2018-04-24 14:58:57 +1200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-08 14:52:39 +0200 |
commit | db7b4e0de960c0ff86b10a3d303b4765dba13d6a (patch) | |
tree | 4de1e9c09890119bcac9bab1924b95f892a6d3f3 /extensions/libipt_LOG.t | |
parent | 155e1c0c783158b3b55967a99233d37b4b3d1490 (diff) |
extensions: libxt_CONNMARK: Support bit-shifting for --restore,set and save-mark
This patch adds a new feature to iptables that allow bitshifting for
--restore,set and save-mark operations. This allows existing logic
operators (and, or and xor) and mask to co-operate with new bitshift
operations.
The intention is to provide uses with more fexible uses of skb->mark
and ct->mark. For example, users can save extra bits in skb->mark:
skb->mark = ct->mark << 8;
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Jack Ma <jack.ma@alliedtelesis.co.nz>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libipt_LOG.t')
0 files changed, 0 insertions, 0 deletions