Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, Anybody having idea about the communication between inter modules in the kernel ? I am having a kernel module which needs to call a function in tcp stack ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    4

    Linux Inter Module communication


    Hi All,

    Anybody having idea about the communication between inter modules in the kernel ?
    I am having a kernel module which needs to call a function in tcp stack moduleI (ipv6).If anybody having idea on this, please let me know.
    ( The symbols which has to be called are available in /proc/kallsyms )

    -zeebu

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Posts
    47
    From within a kernel module code, you can only call functions which are exported to kernel symbol tables (/proc/kallsyms). Now, the functions you want to call already available in /proc/kallsyms, then I think all what you need is finding the kernel header files which have declarations of those functions and including to your code. You can find rich information about this in chapter 2 of Linux Device Drivers book http://lwn.net/Kernel/LDD3/

Posting Permissions

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