No subject



Sat Mar 5 01:58:52 2005
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Fri, 04 Mar 2005 17:59:01 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.11/8.12.8) with ESMTP id j251x1wP042301
	for <atanu@tigger.icir.org>; Fri, 4 Mar 2005 17:59:01 -0800 (PST)
	(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.9p1/8.12.8) with ESMTP id j251x1la088421
	for <atanu@icir.org>; Fri, 4 Mar 2005 17:59:01 -0800 (PST)
	(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.10/8.12.9) with ESMTP id j251x1Mp028682;
	Fri, 4 Mar 2005 17:59:01 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j251wqMp028673
	for <xorp-cvs@icsi.berkeley.edu>; Fri, 4 Mar 2005 17:58:52 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id j251wqla088419
	for <xorp-cvs@icir.org>; Fri, 4 Mar 2005 17:58:52 -0800 (PST)
	(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id j251wq6P013186
	for <xorp-cvs@icir.org>; Fri, 4 Mar 2005 17:58:52 -0800 (PST)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.11/8.12.3/Submit) id j251wqF5013185
	for xorp-cvs@icir.org; Sat, 5 Mar 2005 01:58:52 GMT
	(envelope-from pavlin)
Date: Sat, 5 Mar 2005 01:58:52 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200503050158.j251wqF5013185@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/fib2mrib
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
Changes by:	pavlin@xorpc.icir.org	2005-03-05 01:58:51 UTC

XORP CVS repository


Modified files:
	fib2mrib      fib2mrib_node.cc fib2mrib_node.hh 

Log message:
	* Add a new method Fib2mribNode::update_route()
	  This method is needed as a work-around of FEA-related problems
	  with the routes the FEA sends to interested parties such as FIB2MRIB.
	  A route is updated with interface-related information or next-hop
	  address.
	
	* Refactor method Fib2mribNode::updates_made() which is called
	  whenever the network interface information changes.
	  The previous implementation didn't seem to add/withdraw properly
	  the affected routes if an interface address is added/deleted.
	
	* Call the new Fib2mribNode::update_route() method whenever we receive
	  add/replace/delete route from the FEA. Also, call this method
	  for all affected internally stored routes if the network interface
	  information is changed.
	
	* If add_route() is received from the FEA, but there is already
	  such route, then update route as if replace_route() has been
	  received.
	  Ideally, if we receive add_route() from
	  the FEA, we should have received delete_route() before.
	  However, on FreeBSD-4.10 (at least), if a route points
	  to the local address of an interface, and if we delete
	  that address, the kernel automatically removes all affected
	  routes without reporting the routing information change
	  to the process(es) listening on routing sockets.
	  Therefore, to deal with such (mis)behavior of the FEA,
	  we just replace the previously received route with the
	  new one.
	
	* Add few new methods to Fib2mribRoute:
	  set_nexthop(), set_ifname(), set_vifname()
	
	* Few editorial nits

Revision  Changes    Path
1.20      +219 -65   xorp/fib2mrib/fib2mrib_node.cc
1.14      +50 -4     xorp/fib2mrib/fib2mrib_node.hh
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs