Re: conntrack enhancement

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

 



Jack Ma <Jack.Ma@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi there,
> 
> I am planing to add new user option to allow connmark to be shifted to enable more advanced routing options.
> 
> Currently, it might be something like:
> 
> Conntrack parameters and options:
>  
> -sl, --shift-left bits                      shift mark by n bit to the left
> -sr, --shift-right bits                    shift mark by n bit to the right.
> 
> We run out of nfmark (skb->mark) in our systems due to increasing number of routes we are supporting.

I suspect this is for -j CONNMARK  --restore-mark / --save-mark ?

What would this do?

Something like

skb->mark = ct->mark >> $lshift; ?
ct->mark = skb->mark >> $lshift; ?

I don't really understand how this is supposed to work.
Could you elaborate a bit?

Thanks.
--
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