Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 18:44:22 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Craig Rodrigues <rodrigc@attbi.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: kqueue + Netgraph?
Message-ID:  <200210120144.g9C1iM09059379@arch20m.dellroad.org>
In-Reply-To: <20021011214011.A19877@attbi.com> "from Craig Rodrigues at Oct 11, 2002 09:40:11 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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 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?200210120144.g9C1iM09059379>