Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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!

  2. #2

    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!

  3. #3
    Linux Newbie
    Join Date
    Mar 2008
    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.

  4. $spacer_open
  5. #4
    thank you for your advice! it's very useful!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts