No subject



Wed Oct 22 20:10:06 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 22 Oct 2003 20:11:17 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.9p1/8.12.3) with ESMTP id h9N3BHhh068030
	for <atanu@tigger.icir.org>; Wed, 22 Oct 2003 20:11:17 -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.9p1/8.12.3) with ESMTP id h9N3BDH5066026;
	Wed, 22 Oct 2003 20:11:13 -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.10/8.12.9) with ESMTP id h9N3B0eb011073;
	Wed, 22 Oct 2003 20:11:00 -0700 (PDT)
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 h9N3A6eb011058
	for <xorp-cvs@icsi.berkeley.edu>; Wed, 22 Oct 2003 20:10:06 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h9N3A6H5066018
	for <xorp-cvs@icir.org>; Wed, 22 Oct 2003 20:10:06 -0700 (PDT)
	(envelope-from atanu@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id h9N3A6sd086770
	for <xorp-cvs@icir.org>; Wed, 22 Oct 2003 20:10:06 -0700 (PDT)
	(envelope-from atanu@xorpc.icir.org)
Received: (from atanu@localhost)
	by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id h9N3A6ne086769;
	Wed, 22 Oct 2003 20:10:06 -0700 (PDT)
	(envelope-from atanu)
From: Atanu Ghosh <atanu@icir.org>
Message-Id: <200310230310.h9N3A6ne086769@xorpc.icir.org>
Date:     Wed, 22 Oct 2003 20:10:06  ()
To: xorp-cvs@icir.org
Reply-To: atanu@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/bgp/ bgp.cc packet.hh peer_handler.cc peer_handler.hh  	           peer_handler_debug.cc peer_handler_debug.hh  	           plumbing.cc plumbing.hh rib_ipc_handler.cc  	           rib_ipc_handler.hh route_table_ribout.cc  ...route_table_ribout.hh  ...test_plumbing.cc  ...test_ribout.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/www/data/cvs
Module name:	xorp
Repository:	xorp/bgp/
Changes by:	atanu@xorpc.icir.org.	03/10/22 20:10:06

Modified files:
	xorp/bgp/: bgp.cc packet.hh peer_handler.cc peer_handler.hh 
	           peer_handler_debug.cc peer_handler_debug.hh 
	           plumbing.cc plumbing.hh rib_ipc_handler.cc 
	           rib_ipc_handler.hh route_table_ribout.cc 
	           route_table_ribout.hh test_plumbing.cc test_ribout.cc 

Log message:
	We have four separate instances of routing tables in BGP:
	IPv4 (AFI 1) Unicast (SAFI 1)
	IPv4 (AFI 1) Multicast (SAFI 2)
	IPv6 (AFI 2) Unicast (SAFI 1)
	IPv6 (AFI 2) Multicast (SAFI 2)
	
	When an update packet is teased apart and each route is injected into
	the plumbing it is obvious where it should be injected. When the
	message pops out of the plumbing at the peer handler the AFI
	information is preserved as its implemented using templates. The SAFI
	information, however is lost.
	
	The simplest way of preserving the SAFI information is to place it in
	the subnet route message. I tried this but in some methods
	it became awkward.
	
	Therefore the relevant peerhandler methods now take a SAFI argument
	and each instance of the ribout is passed a SAFI in its constructor.

_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs