Subject: Re: Kernel internal events (here: interface attach/detach)
To: None <tech-kern@NetBSD.org>
From: Peter Postma <firstname.lastname@example.org>
Date: 11/22/2004 20:19:19
On Sun, Nov 21, 2004 at 03:46:17PM +0100, Martin Husemann wrote:
> We've been through this multiple times, but I think there still is no
> "good" solution in-tree.
> I have an urgent need to detect a detaching interface inside the kernel
> (because I have stored the struct interface pointer and need to clear that).
Right now, you can use pfil(9) to do this (yeah, its not nice -- PR/27260).
> And no, I don't realy want to interpret the stupid routing socket messages
> for this simple (and probably not too uncommon) use, neither do I want to
> hardcode a hack in if_detach.
> What happened to the FreeBSD inspired callback-function-lists-with-linker-
> magic (whose name I forgot)?
EVENTHANDLER... nothing happened yet i think..