On Wed, Feb 26, 2014 at 06:17:36PM +0100, Arturo Borrero Gonzalez wrote: > On 26 February 2014 17:10, Arturo Borrero Gonzalez > <arturo.borrero.glez@xxxxxxxxx> wrote: > > > > + > > + /* XXXX */ > > + sleep(1); > > + > > + /* only way, by now, to know set_elems (no set_elem events) */ > > + if (netlink_get_setelems(&set_tmpctx, &s->handle, monh->loc, s) < 0) > > + goto out; > > + > > About this: > > it seems that I can't query the kernel just after the set is created, > because I get an empty set. I see. Since sets are first created then elements are added, I think you have to make a kernel patch to add set element events. -- 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