On Wed, 2006-10-25 at 11:55 -0400, Dan McDonald wrote:
> Code-review feedback has indicated we need a new conn_t flag for Tunnel
> Reform (and it may also be in Clearview IP tunnelling):
> 
> #define       IPCL_ISTUN              0x00000010      /* Has "tun" plumbed 
> above it */
> 
> It didn't look like that value was taken, but I wanted to check here just to
> make sure.  If I hear no responses, I'll assume I'm good.

The flag name I'm using for Clearview is IPCL_IPTUN because the IPCL_IS*
macros are by convention currently boolean macros, and not flags (except
for the stray IPCL_ISV6 flag).  There's also an existing macro called
IPCL_IS_IPTUN() in ipclassifier.h.  You could modify that to be:

#define IPCL_IS_IPTUN(connp)                             \
        ((connp)->conn_flags & IPCL_IPTUN)

-Seb


_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to