No subject
Wed Jul 2 23:47:10 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 02 Jul 2003 23:48:02 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.8p1/8.12.3) with ESMTP id h636m1wF054425
for <atanu@tigger.icir.org>; Wed, 2 Jul 2003 23:48:01 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h636m1RS077914
for <atanu@icir.org>; Wed, 2 Jul 2003 23:48:01 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h636m1ai020428;
Wed, 2 Jul 2003 23:48:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h636lAai020384
for <xorp-cvs@icsi.berkeley.edu>; Wed, 2 Jul 2003 23:47:10 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h636lARS077912
for <xorp-cvs@icir.org>; Wed, 2 Jul 2003 23:47:10 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h636lAkN074770
for <xorp-cvs@icir.org>; Wed, 2 Jul 2003 23:47:10 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h636lAU6074769;
Wed, 2 Jul 2003 23:47:10 -0700 (PDT)
(envelope-from pavlin)
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200307030647.h636lAU6074769@xorpc.icir.org>
Date: Wed, 2 Jul 2003 23:47:10 ()
To: xorp-cvs@icir.org
Reply-To: pavlin@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxorp/ vif.hh vif.cc
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Repository: xorp/libxorp/
Changes by: pavlin@xorpc.icir.org. 03/07/02 23:47:10
Modified files:
xorp/libxorp/: vif.hh vif.cc
Log message:
* Modify VifAddr::is_same_subnet(const IPvXNet& ipvxnet)
to return true only if ipvxnet is same as VifAddr::_subnet_addr
In other words, it no longer returns true in the case
when ipvxnet and _subnet_addr just overlap.
* Modify Vif::is_same_subnet() to return false for p2p interface.
The reason is because a p2p interface may not have a subnet.
* Add new method Vif::is_same_p2p(const IPvX& ipvx_addr)
that returns true if ipvx_addr is same as my address or
the address of the pair. It returns false if the interface
is not p2p.
* Remove method Vif::is_directly_connected()
The reason is because it is not sufficient to compare
a given address against the address of the vif or the
subnet address. E.g., a given address may belong to the
same LAN, but if the vif is down, the address may be reachable
via an indirect path.
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs