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