On Sat, Sep 27, 2003 at 11:14:37 +0100, Bakr Sarakbi wrote: > Regards, > > I have tried the example in the "Linux IP networking" Packet_Dropper. > > the problem I faced is that the symbol <test_function> couldn't be resolved and it doesn't exist in the /proc/ksyms..so how could I insert it and avoid such a problem. > > any reply would be appreciated..Bye Compiled in kernel proper? Then you need to export it. See kernel/ksyms.c for a lot of examples. (Note: the macro does not work anywhere, only in files specialy marked in makefile). Module symbols should be exported by default. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/