Re: [libnftnl PATCH] Introduce struct nftnl_str_array

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

 



On Wed, Oct 23, 2024 at 10:13:04PM +0200, Florian Westphal wrote:
> Phil Sutter <phil@xxxxxx> wrote:
> > This data structure holds an array of allocated strings for use in
> > nftnl_chain and nftnl_flowtable structs. For convenience, implement
> > functions to clear, populate and iterate over contents.
> > 
> > While at it, extend chain and flowtable tests to cover these attributes,
> > too.
> > 
> > Signed-off-by: Phil Sutter <phil@xxxxxx>
> > ---
> >  include/internal.h         |  1 +
> >  src/Makefile.am            |  1 +
> >  src/chain.c                | 90 ++++++------------------------------
> >  src/flowtable.c            | 94 ++++++--------------------------------
> >  src/utils.c                |  1 +
> >  tests/nft-chain-test.c     | 37 ++++++++++++++-
> >  tests/nft-flowtable-test.c | 21 +++++++++
> >  7 files changed, 86 insertions(+), 159 deletions(-)
> 
> I don't see str_array.c here, missing 'git add'?

A classic. :(
V2 is underway.

Thanks, Phil




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

  Powered by Linux