No subject



Mon Jan 27 19:21:52 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Mon, 27 Jan 2003 19:22:05 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.3/8.12.3) with ESMTP id h0S3M5ws087157
	for <atanu@tigger.icir.org>; Mon, 27 Jan 2003 19:22:05 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.3/8.12.3) with ESMTP id h0S3M460045784
	for <atanu@icir.org>; Mon, 27 Jan 2003 19:22:04 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (localhost [127.0.0.1])
	by ICSI.Berkeley.EDU (8.9.0/8.9.0) with ESMTP id TAA24812;
	Mon, 27 Jan 2003 19:22:03 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by ICSI.Berkeley.EDU (8.9.0/8.9.0) with ESMTP id TAA24789
	for <xorp-cvs@icsi.berkeley.edu>; Mon, 27 Jan 2003 19:21:53 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.3/8.12.3) with ESMTP id h0S3Lr60045778
	for <xorp-cvs@icir.org>; Mon, 27 Jan 2003 19:21:53 -0800 (PST)
	(envelope-from rizzo@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.3/8.12.3) with ESMTP id h0S3Lr8a035627
	for <xorp-cvs@icir.org>; Mon, 27 Jan 2003 19:21:53 -0800 (PST)
	(envelope-from rizzo@xorpc.icir.org)
Received: (from rizzo@localhost)
	by xorpc.icir.org (8.12.3/8.12.3/Submit) id h0S3Lrp0035626;
	Mon, 27 Jan 2003 19:21:53 -0800 (PST)
	(envelope-from rizzo)
From: Luigi Rizzo <rizzo@icir.org>
Message-Id: <200301280321.h0S3Lrp0035626@xorpc.icir.org>
Date:     Mon, 27 Jan 2003 19:21:52  ()
To: xorp-cvs@icir.org
Reply-To: rizzo@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxorp/ asnum.hh  xorp/bgp/ aspath.cc aspath_test.cc local_data.hh main.cc  	           peer_data.cc  xorp/bgp/harness/ peer.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/bgp/harness/
Changes by:	rizzo@xorpc.icir.org.	03/01/27 19:21:52

Modified files:
	xorp/libxorp/: asnum.hh 
	xorp/bgp/: aspath.cc aspath_test.cc local_data.hh main.cc 
	           peer_data.cc 
	xorp/bgp/harness/: peer.cc 

Log message:
	After reading the draft on 32-bit AS numbers, implement AsNum correctly:
	there is only one constructor irrespective of the numeric value of
	the AsNum. As per the spec, the 16-bit as() method will return the
	IANA-assigned constant AS_TRAN for values > 0xffff, and the 32-bit
	as32() method will return a 32-bit value in all cases.
	The draft specifies how to convert AS_TRAN in the correct value --
	specifically, an attribute which contains AS_TRAN will always be
	accompanied by a NEW_AS_PATH attribute (opaque to old speakers)
	with the full 32-bit values.
	
	Because none of our code is able to deal with 32-bit AsNum's,
	and we will never voluntarily create a 32-bit AsNum,
	abort() if we try to construct one such object.

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