Craig Rodrigues writes:
> (1)  Is it possible to combine user-space netgraph notifications with 
>      kqueue()?

Sure. kqueue() works with any file descriptors, including netgraph sockets.

> (2)  Would it be useful to have some function in libnetgraph
>      for hooking two nodes together?  It seems like it would be useful
>      to have.  Right now I just copied the source code of nghook
>      and put it into my little program.

It's such a small amount of code it doesn't really warrant adding
a new function IMHO.

Cheers,
-Archie

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

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

Reply via email to