Re: [PATCH nft 2/2] debug: include kernel set information on cache fill

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

 



Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> Hi Florian,
> 
> On Wed, Nov 20, 2024 at 11:02:16AM +0100, Florian Westphal wrote:
> > Honor --debug=netlink flag also when doing initial set dump
> > from the kernel.
> > 
> > With recent libnftnl update this will include the chosen
> > set backend name that is used by the kernel.
> > 
> > Because set names are scoped by table and protocol family,
> > also include the family protocol number.
> > 
> > Dumping this information breaks tests/py as the recorded
> > debug output no longer matches, this is fixed in previous
> > change.
> 
> table ip x {
>         set y {
>                 type ipv4_addr
>                 size 256        # count 128
>                 ...
> 
> We have to exposed the number of elements counter. I think this can be
> exposed if set declaration provides size (or default size is used).

OK,  I will update libnftl then because this means it will need
proper getter for nft sake.




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

  Powered by Linux