On Wed, 31 Aug 2011, Jan Engelhardt wrote: > On Wednesday 2011-08-31 14:16, Jozsef Kadlecsik wrote: > > >On Wed, 31 Aug 2011, Jan Engelhardt wrote: > > > >> On Wednesday 2011-08-31 13:56, Jozsef Kadlecsik wrote: > >> > >> >On Sun, 28 Aug 2011, Jan Engelhardt wrote: > >> > > >> >> libxt_SET.c requires IPSET_INVALID_ID, but this constant has moved into > >> >> a #ifdef __KERNEL__ section lately and is thus absent from userspace. > >> >> (In linux-kernel/include/linux/netfilter/ipset/ip_set.h.) > >> > > >> >After rewieving your patches, I don't get it: what userspace tool would > >> >use linux-kernel/include/linux/netfilter/ipset/ip_set.h? iptables does > >> >definitely not use it and ipset either. So why your patches are > >> >required? > >> > >> iptables/extensions/xt_SET.c #includes <netfilter/xt_set.h> which > >> #includes ip_set.h to get at the definition of ip_set.h. > >> Patch will be resent. > > > >iptables/extensions/libxt_SET.c includes <linux/netfilter/xt_set.h> and > >xt_set.h includes nothing. > > 14:44 seven:../linux/netfilter > git show v3.0:include/linux/netfilter/xt_set.h | grep includ > #include <linux/types.h> > #include <linux/netfilter/ipset/ip_set.h> This is the kernel source tree. You wrote about libxt_SET.c and userspace: kadlec@mentat:/usr/src/git/iptables$ rgrep ip_set.h * kadlec@mentat:/usr/src/git/iptables$ Best regards, Jozsef - E-mail : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt Address : KFKI Research Institute for Particle and Nuclear Physics H-1525 Budapest 114, POB. 49, Hungary -- 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