PDA

View Full Version : header file: linux/netfilter.h code error



goforce
October 30th, 2007, 09:20 AM
Hi all,

I tried to do a Make on the Kernel AODV source codes version 2.2.2 which uses netfilter.h in its codes but it gives compilation errors as it can't find struct type defined as "nf_hook_ops" in usr/include/linux/netfilter.h

Am I missing something here? why is the netfilter.h different from what was at this site Linux/include/linux/netfilter.h ??? how do I get the latest version of the header files? For your information, I'm running Ubuntu 7.10 with the latest Linux kernel version 2.6.22 and has perform all available updates. anyone using Ubuntu 7.10 having the same netfiler.h file as mine which is not the same as the site?

Thanks alot for your help.