Subject: Re: Multicast routing and unnumbered point-to-point interfaces
To: Hitoshi Asaeda <asaeda@yamato.ibm.co.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 10/06/2000 09:26:59
On Fri, Oct 06, 2000 at 06:07:37PM +0900, Hitoshi Asaeda wrote:

 > Why don't you define another vif flag, e.g., VIFF_LOGICAL, instead of
 > an obsolete VIFF_TUNNEL?
 > gif, gre etc. have each if_type, then you can distinguish the
 > interface is physical or logical (virtual) interface.
 > If you distinguish the interface's attribute, then you can skip
 > routines of unneed check for a logical interface.

I'm not sure I understand.  The VIFF_TUNNEL checks were to handle the
special-case of ip_mroute.c doing the encap.  "Logical" interfaces such
as gif, gre, etc. can simply be treated as normal network interfaces,
as can e.g. vlan interfaces.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>