SA add notification to externa module

VANHULLEBUS Yvan vanhu at FreeBSD.org
Tue Mar 17 02:29:04 PDT 2009


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.


More information about the freebsd-net mailing list