Date: Tue, 17 Mar 2009 10:29:34 +0100 From: VANHULLEBUS Yvan <vanhu@FreeBSD.org> To: srikanth jampala <srikanthhcu05@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: SA add notification to externa module Message-ID: <20090317092933.GA72942@zeninc.net> In-Reply-To: <a557faae0903170153v46b289d3l2c5caef07082973c@mail.gmail.com> References: <a557faae0903170153v46b289d3l2c5caef07082973c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 17, 2009 at 02:23:13PM +0530, srikanth jampala wrote: > Hi all Hi. > This is my first posting. > > I want the notifications about the SA (security association) add/delete > events, > from the kernel to my externel kernel module. > > How can I do this... ? Such events are notified to all PFKey registered sockets. Usually, those notifications are sent to userland, but I guess you could start searching from there (see key_sendup_mbuf(x, y, KEY_SENDUP_REGISTERED) in netipsec/keysock.c). Yvan.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090317092933.GA72942>