From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexandros Fragkiadakis" Subject: About loadable kernel modules Date: Wed, 2 Oct 2002 11:04:05 -0700 Sender: netfilter-admin@lists.netfilter.org Message-ID: <001001c26a3e$1900bab0$c5327d9e@alex> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C26A03.6C92A070" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C26A03.6C92A070 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, Well, i have written a (netfilter) loadable kernel module for filtering = various packets. I pass these packets from kernel space to user space = using libipq. I also have a user process thas loads and unloads this loadable kernel = module using the commands: system("insmod kernel_module.o")=20 system("rmmod kernel_module") respectively. I'd like to pass parameters to the loadable module, hence having a more = flexible user process.=20 So, instead of using the command system("insmod kernel_module.o"), i'd like to use: system("insmod kernel_module.o = ...") , hence passing command line parameters to my loadable module. Do you know if it is possible? Thanks ------=_NextPart_000_000D_01C26A03.6C92A070 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
Well, i have written a (netfilter) loadable = kernel module=20 for filtering various packets. I pass these packets from kernel=20 space to user space using libipq.
 I also have a user process thas loads and = unloads=20 this loadable kernel module using the commands:
system("insmod kernel_module.o")
system("rmmod kernel_module") = respectively.
 
 I'd like to pass parameters to the = loadable module,=20 hence having a more flexible user process.
  So, instead of using the command = system("insmod=20 kernel_module.o"),
i'd like to use: system("insmod = kernel_module.o=20 <param1> <param2>...<param n>")
, hence passing command line parameters to my = loadable=20 module.
 
Do you know if it is possible?
 
Thanks
------=_NextPart_000_000D_01C26A03.6C92A070--