Re: [PATCH] libxt_CONNMARK: Support bit-shifting for --restore,set and save-mark

2018-04-12 Thread Jack Ma
Hi Florian & Pablo, The pointer casting from (struct xt_connmark_tginfo2 *) to (const struct xt_connmark_tginfo1 *) cause the significance to be lost... Sorry this is a silly mistake I made.. Already got patches addressing the issue. Plan to send out for review next week.. Regards, Jack-- To

[PATCH] libxt_CONNMARK: Support bit-shifting for --restore,set and save-mark

2018-04-08 Thread Jack Ma
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

Re: [PATCH] libxt_CONNMARK: Support bit-shifting for --restore,set and save-mark

2018-04-08 Thread Jack Ma
diff: Fixed a small typo error in connmark_tg_parse_v2-- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] libxt_CONNMARK: Support bit-shifting for --restore,set and save-mark

2018-03-18 Thread Jack Ma
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