From owner-freebsd-current Mon May 3 23:37:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 89A4214BC9 for ; Mon, 3 May 1999 23:37:13 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA08543; Tue, 4 May 1999 00:36:32 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA55353; Tue, 4 May 1999 00:37:49 -0600 (MDT) Message-Id: <199905040637.AAA55353@harmony.village.org> To: John Polstra Subject: Re: Any action on PR 10570 ? getting closer to 65K :-( Cc: ben@rosengart.com, freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Fri, 30 Apr 1999 11:50:51 PDT." References: Date: Tue, 04 May 1999 00:37:48 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message John Polstra writes: : Sheesh. Make it a bloody long then so you'll get 64 bits on the : Alpha. And then go fix all the printf format mismatches. : : Or, pull you head out of that dark fantasyland and realize that (a) a : 32-bit counter is not a problem in any realistic sense, and (b) if it : were, we'd have thousands of other equally serious problems throughout : the system. : : I'm done with this absurd thread. I can understand that. It has taken more time arguing about it than the s/short/int/ ; make world :-) It is completely impossible to have 2^32 routes in IPv4. Period. Your machine must be on a network, and therefore it must have a broadcast address for that network, and therefore there must be at least 4 addresses that are reachable with one route. Since the domain of IPv4 is 2^32, you can have at most 2^32 - 3 routes. An int is fine, no overflow check needed here. IPv6 may change this, but as John keeps pointing out, that is apples and oranges... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message