No subject
Wed Oct 1 20:51:54 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 01 Oct 2003 20:52:06 -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 h923q5fw047956
for <atanu@tigger.icir.org>; Wed, 1 Oct 2003 20:52:05 -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 h923q1H5074570;
Wed, 1 Oct 2003 20:52: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 h923q1wG004707;
Wed, 1 Oct 2003 20:52: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 h923pswG004697
for <xorp-cvs@icsi.berkeley.edu>; Wed, 1 Oct 2003 20:51:54 -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 h923psH5074568
for <xorp-cvs@icir.org>; Wed, 1 Oct 2003 20:51:54 -0700 (PDT)
(envelope-from hodson@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 h923pssd062408
for <xorp-cvs@icir.org>; Wed, 1 Oct 2003 20:51:54 -0700 (PDT)
(envelope-from hodson@xorpc.icir.org)
Received: (from hodson@localhost)
by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id h923ps0c062407;
Wed, 1 Oct 2003 20:51:54 -0700 (PDT)
(envelope-from hodson)
From: Orion Hodson <hodson@icir.org>
Message-Id: <200310020351.h923ps0c062407@xorpc.icir.org>
Date: Wed, 1 Oct 2003 20:51:54 ()
To: xorp-cvs@icir.org
Reply-To: hodson@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxorp/ ipnet.hh ipv4.cc ipv4.hh ipv6.cc ipv6.hh ipvx.cc ipvx.hh ipvxnet.hh
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/libxorp/
Changes by: hodson@xorpc.icir.org. 03/10/01 20:51:54
Modified files:
xorp/libxorp/: ipnet.hh ipv4.cc ipv4.hh ipv6.cc ipv6.hh ipvx.cc
ipvx.hh ipvxnet.hh
Log message:
Change IPNet<A>::_prefix_len type from size_t to uint32_t.
Propagate change such that uint32_t is used for all IP bit related
operations. This avoids any size_t <-> uint32_t conversions. NB
arguments and return types for operations relating to to byte sizes
remain of type size_t.
Rationale: size_t can be 64bits on a 64bit platform, which is
excessive for an 8bit number. Whilst size_t is defined to be unsigned
in C99, there are platforms that still use a signed value. This makes
format strings difficult since %z format argument is not widely enough
deployed to be useful today.
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs