Date: Tue, 5 Nov 2002 13:31:47 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: Maksim Yevmenkin <myevmenk@exodus.net> Cc: current@freebsd.org, net@freebsd.org Subject: Re: Netgraph and KQUEUE(2) Message-ID: <Pine.BSF.4.21.0211051319480.69864-100000@InterJet.elischer.org> In-Reply-To: <3DC82EB5.7974429D@exodus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
It's not a bad idea. On Tue, 5 Nov 2002, Maksim Yevmenkin wrote: > Dear Hackers, > > I would like to get some feedback on the idea i have. > Basically i would like Netgraph system to send kevents > whenever something happens. For example: > > 1) node X of type Y was created/destroyed > 2) hook X was connected/disconnected to/from node Y > 3) Data passed via hook X > 4) Node X got message Y > > etc. > > Right now i can think of two scenarios where this > could be useful. > > 1) Device driver in Netgraph node. When hardware is > activated new Netgraph node is created and new > kevent sent. devd (or something like devd) listens > for these events and does something (loads firmware, > activates device, etc.) > > 2) ngdump - "tcpdump" for Netgraph. Dumps everything > that happens in the Netgraph. > > what do you think? > > thanks, > max > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211051319480.69864-100000>