Results 1 to 4 of 4
hi everyone. I'm now learn to write kernel module to check and do something else about the ip packets. But in the /usr/include/linux directory, i can't find the file skbuff.h. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-16-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 10
can't find the skbuff.h under /linux,help!!
hi everyone. I'm now learn to write kernel module to check and do something else about the ip packets. But in the /usr/include/linux directory, i can't find the file skbuff.h. I'm using the Fedora 8. Could anybody tell me why and how to solve this problem? Thanks!
- 05-17-2008 #2Just Joined!
- Join Date
- May 2008
- Posts
- 10
maybe i got the answer!
when we write a kernel module, we should include the header files we need from the source tree other than the /usr/inlucde. Is it right? I trace into the source folder in my pc and find the skbuff.h finally!
- 05-18-2008 #3Linux Newbie
- Join Date
- Mar 2008
- Location
- Hyderabad
- Posts
- 109
This is for your further help
Got to top of kernel source directory. Type
ctags -R *
This will take some time. After then the prompt will return. A file name tags will be created. Every time you have to find a function's or a structure's header file. It will be helpful and will save time.
- 05-18-2008 #4Just Joined!
- Join Date
- May 2008
- Posts
- 10
thank you for your advice! it's very useful!


Reply With Quote
