Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 21:31:54 +1000
From:      Sadish Kulasekere <sadishkr@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   FreeBSD Kernel Timers
Message-ID:  <AANLkTi=EEDof1GB_-X2w9WSPVkWL=_Uwuy9j7ema%2BZag@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=EEDof1GB_-X2w9WSPVkWL=_Uwuy9j7ema%2BZag>