From: vinolin <vinolin@nodeinfotech.com>
To: linux-kernel@vger.kernel.org
Cc: Robert Love <rml@tech9.net>
Subject: Re: Iner Module Communications
Date: Wed, 13 Mar 2002 14:22:05 +0530 [thread overview]
Message-ID: <02031314220503.00884@Vinolin> (raw)
On Wednesday 13 March 2002 11:23, Robert Love wrote:
> You can call functions and touch data in other functions ... the kernel
> image, even with modules, is one big flat monolithic model.
>
> You will probably want to EXPORT_SYMBOL the functions and variables you
> want to touch ... see other modules. But basically you can access
> anything that is exported once your module is linked.
>
> Carefully consider _why_ you need "inter-module communication",
> though... and design to those (hopefully proper) goals.
>
> Robert Love
Thanks Robert.
Actually i'm trying to segregate IP and ICMP from the linux stack.
Thogh i do insmod of IP as well as ICMP, i'm having the linux stack as well.
In this case, if i do EXPORT_SYMBOL,
the LKM ICMP module can refer the IP module instead of refering LKM IP
module. But i want the LKM ICMP communicate to LKM IP only, not the kernel's
IP.
Is EXPORT_SYMBOL the only way to solve this ? Any other idea ?
Thanks,
Vinolin.
next reply other threads:[~2002-03-13 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-13 8:52 vinolin [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-13 5:45 Iner Module Communications vinolin
2002-03-13 5:53 ` Robert Love
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=02031314220503.00884@Vinolin \
--to=vinolin@nodeinfotech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@tech9.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox