Maksim Yevmenkin writes:
> 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

This would be nice, but what does kqueue() really have to do with it?

I.e., why not just allow the creation of a ng_monitor(4) (or whatever you
want to call it) node, which would send out event report messages to
whomever connected to it.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to