Re: Periodic event in Kernel Module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I have written a netfilter kernel module and I want some code
to run periodically

init_timer() and family.
http://www.linux-m32r.org/lxr/http/source/kernel/timer.c?v=2.6.19;a=i386
#L140


This is exactly what I need. add_timer() calling function X in the init and then add_timer() in function X.

Thanks!


--
--------------------------------------------------
| Rick J. Blundell                               |
| <rickb@xxxxxxxxxxxx>                           |
--------------------------------------------------
| Mac OS X proves that it's easier to make UNIX  |
| pretty than it is to make Windows secure.      |
--------------------------------------------------

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux