views:

40

answers:

1

I read in many books that path for skbuff.h is usr/include/linux. I searched in Ubuntu, fedora and backtrack but can't find the header file. Can anybody help me to find this file? Thanks in advance.

+2  A: 

It is part of the kernel's source code, so you very likely don't have it installed by default.

Here's how you find out which package(s) owns the file:

~$ dpkg -S skbuff.h
linux-headers-2.6.32-22: /usr/src/linux-headers-2.6.32-22/include/linux/skbuff.h
linux-headers-2.6.32-22-generic: /usr/src/linux-headers-2.6.32-22-generic/include/linux/skbuff.h
linux-headers-2.6.32-23: /usr/src/linux-headers-2.6.32-23/include/linux/skbuff.h
linux-headers-2.6.32-23-generic: /usr/src/linux-headers-2.6.32-23-generic/include/linux/skbuff.h
linux-headers-2.6.32-24: /usr/src/linux-headers-2.6.32-24/include/linux/skbuff.h
linux-headers-2.6.32-24-generic: /usr/src/linux-headers-2.6.32-24-generic/include/linux/skbuff.h
unwind
Thanks bro. Problem solved.