Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 10:58:43 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, Yar Tikhiy <yar@FreeBSD.org>, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet ip_carp.c
Message-ID:  <20051026105820.X32255@fledge.watson.org>
In-Reply-To: <20051026093536.GF41520@cell.sick.ru>
References:  <200510260557.j9Q5vZ7J076711@repoman.freebsd.org> <20051026101319.A32255@fledge.watson.org> <20051026093536.GF41520@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 26 Oct 2005, Gleb Smirnoff wrote:

> On Wed, Oct 26, 2005 at 10:15:09AM +0100, Robert Watson wrote:
> R> I think we may actually be in need of either a new flag,
> R> IFF_OKSODONTTREATTHISQUITELIKEANINTERFACE, or maybe a more reliable way
> R> for protocols to ask if an interface is a loopback interface or not.
>
> I'd prefer to rewrite those subsystems that use interface layer but 
> aren't actually interfaces. I have plans to do this for CARP.

At least in the case of if_disc, this won't help.  I'm not quite sure why 
if_disc is IFF_LOOPBACK.

Robert N M Watson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051026105820.X32255>