Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Alexandros Fragkiadakis" <A.Fragiadakis@lboro.ac.uk>
To: netfilter@lists.netfilter.org
Subject: About loadable kernel modules
Date: Wed, 2 Oct 2002 11:04:05 -0700	[thread overview]
Message-ID: <001001c26a3e$1900bab0$c5327d9e@alex> (raw)

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

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") 
system("rmmod kernel_module") respectively.

 I'd like to pass parameters to the loadable module, hence having a more flexible user process. 
  So, instead of using the command system("insmod kernel_module.o"),
i'd like to use: system("insmod kernel_module.o <param1> <param2>...<param n>")
, hence passing command line parameters to my loadable module.

Do you know if it is possible?

Thanks

[-- Attachment #2: Type: text/html, Size: 1600 bytes --]

             reply	other threads:[~2002-10-02 18:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02 18:04 Alexandros Fragkiadakis [this message]
2002-10-07 16:17 ` About loadable kernel modules Roberto Nibali
2002-10-08  1:06 ` Joel Newkirk

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='001001c26a3e$1900bab0$c5327d9e@alex' \
    --to=a.fragiadakis@lboro.ac.uk \
    --cc=netfilter@lists.netfilter.org \
    /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