Find the answer to your Linux question:
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.
  1. #1
    Just 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!

  2. #2
    Just 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!

  3. #3
    Linux 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.

  4. #4
    Just Joined!
    Join Date
    May 2008
    Posts
    10
    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
  •