Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2002 12:48:53 -0800
From:      Maksim Yevmenkin <myevmenk@exodus.net>
To:        current@freebsd.org, net@freebsd.org
Cc:        Julian Elischer <julian@elischer.org>
Subject:   Netgraph and KQUEUE(2)
Message-ID:  <3DC82EB5.7974429D@exodus.net>
References:  <Pine.BSF.4.21.0211051211030.69610-100000@InterJet.elischer.org> <3DC82927.7200233B@exodus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC82EB5.7974429D>