Tried that. Same thing. It looks like this now:
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4/ip_conntrack.h>
#include <linux/netfilter_ipv4/ip_conntrack_core.h>
#include <linux/netfilter_ipv4/ip_conntrack_helper.h>
#include <linux/netfilter_ipv4/ip_nat.h>
#endif
Just for a test, could also remove the last #if-block? Maybe the Kconfig
variables have not been propagated properly.
Where for example is the ip_conntrack_find_get() located in
the current sources? I'd grep myself, but git is not exactly
production ready on Windows yet and www{,2}.kernel.org is dog slow.
greping for 'ip_conntrack_find_get' I came up with these:
./include/linux/netfilter_ipv4/ip_conntrack_core.h:ip_conntrack_find_get(con
st struct ip_conntrack_tuple *tuple,
So it should find it now.
./net/ipv4/netfilter/ip_conntrack_standalone.c:EXPORT_SYMBOL_GPL(ip_conntrac
k_find_get);
./net/ipv4/netfilter/ip_conntrack_standalone.c.orig:EXPORT_SYMBOL_GPL(ip_con
ntrack_find_get);
It's even exported, so if the includes are there and the objects have
been created, the linker should be able to find those symbols.
Try it and report back,
Roberto Nibali, ratz
--
echo
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
|