Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 07:23:20 -0500
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        Sadish Kulasekere <sadishkr@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD Kernel Timers
Message-ID:  <AANLkTi=bfSeRCBJFPk5zu-bX1VEhesHC8UxpdFte0UQb@mail.gmail.com>
In-Reply-To: <AANLkTi=EEDof1GB_-X2w9WSPVkWL=_Uwuy9j7ema%2BZag@mail.gmail.com>
References:  <AANLkTi=EEDof1GB_-X2w9WSPVkWL=_Uwuy9j7ema%2BZag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 25, 2010 at 6:31 AM, Sadish Kulasekere <sadishkr@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=bfSeRCBJFPk5zu-bX1VEhesHC8UxpdFte0UQb>