I am writing a libnetfilter_queue program. I am new to linux kernel programming. I need to include linux/skbuff.h,
net/checksum.h and many related kernel headers which are not present in /usr/include/linux. I get following error on compilation
fatal error: linux/skbuff.h: No such file or directory
fatal error: net/checksum.h: No such file or directory
try this
find / -name skbuff.h 2>/dev/nullthen when it finds the location use the-I/path/to/folderwhen you compile your program.. If it doesn’t find the header you don’t have it!