Re: [PATCH nft v4 2/4] src: Add support for NFTNL_SET_DESC_CONCAT

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

 



On Thu, Jan 30, 2020 at 01:16:56AM +0100, Stefano Brivio wrote:
> To support arbitrary range concatenations, the kernel needs to know
> how long each field in the concatenation is. The new libnftnl
> NFTNL_SET_DESC_CONCAT set attribute describes this as an array of
> lengths, in bytes, of concatenated fields.
> 
> While evaluating concatenated expressions, export the datatype size
> into the new field_len array, and hand the data over via libnftnl.
> 
> Similarly, when data is passed back from libnftnl, parse it into
> the set description.
> 
> When set data is cloned, we now need to copy the additional fields
> in set_clone(), too.
> 
> This change depends on the libnftnl patch with title:
>   set: Add support for NFTA_SET_DESC_CONCAT attributes

Also applied, thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux