> Hello. I have written a netfilter kernel module and I want some code to > run periodically, ie a function in the module should run every 5 seconds. > > I have researched and implemented a kernel work queue however this does > not have the capability of being periodic from my assessment. Can anyone > point me in the right direction? > init_timer() and family. http://www.linux-m32r.org/lxr/http/source/kernel/timer.c?v=2.6.19;a=i386 #L140 -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/