Subject: Re: Alternative approach for interface events
To: None <tech-net@NetBSD.org>
From: Peter Postma <email@example.com>
Date: 09/20/2004 22:21:24
On Mon, Sep 20, 2004 at 09:24:59AM +0200, Martin Husemann wrote:
> On Sun, Sep 19, 2004 at 11:29:30PM +0200, Peter Postma wrote:
> > FreeBSD's eventhandler seems too much code to me for handling interface
> > changes. But if we want a general event handling mechanism then it might
> > be useful.
> Agreed. But I think we need a general event handling mechanism.
> (And then use that for the sysmon events too)
Ok, here's a port of FreeBSD's eventhandler (and cleaned up).
I think we can also use this event system to replace hook functions