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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 24, 2018 at 02:58:57PM +1200, Jack Ma wrote:
> 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;

Applied, thanks.

Please, send us tests for extensions/libxt_CONNMARK.t

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux