problem related to coustem module .....plz help
engineerhitesh at gmail.com
Tue Apr 24 10:02:59 CEST 2007
hello all ,
actually i am writing the custom table at forward hook in netfilter framework.
so , as we know that if we want to pass argument at insertion time we
can pass it by using module_param(), so i did it successfully. but
problem occurs , when i want to pass array of structure to my module ,
i will explain it in brief
char *action; /*NF_ACCEPT,NF_DROP,NF_QUEUE*/
so , now i want that i should be able to set the 5 diff. rules at the
time of insertion.
but i tried it alot , but no result.
so , plz anybody will suggest me how to do it, or any other idea to
set various rule by command line.
More information about the netfilter