FreeBSD Kernel Timers

Sam Fourman Jr. sfourman at gmail.com
Wed Aug 25 12:54:59 UTC 2010


On Wed, Aug 25, 2010 at 6:31 AM, Sadish Kulasekere <sadishkr at gmail.com> wrote:
> Hi,
>
> Does anyone know how to create a timer in the kernel? I want to execute a
> function after 1s and 3s and I want to create multiple instances of the
> timer. The requirement here is to invoke a function after receiving a SYN
> packet and then after 10s remove the perticular timer corresponding to that
> SYN. This should be done for each SYN received.
>
> Thanks,
> Sadish.
> _______________________________________________

I would also benefit if someone had some sample code for how to do this.

Thank you

Sam Fourman Jr.
Fourman Networks
http://www.fourmannetworks.com


More information about the freebsd-net mailing list