From owner-freebsd-net@FreeBSD.ORG Thu Jun 24 12:19:39 2010 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C013C1065670 for ; Thu, 24 Jun 2010 12:19:39 +0000 (UTC) (envelope-from rrs@lakerest.net) Received: from lakerest.net (unknown [IPv6:2001:240:585:2:213:d4ff:fef3:2d8d]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4CF8FC19 for ; Thu, 24 Jun 2010 12:19:39 +0000 (UTC) Received: from [192.168.2.184] (pool-96-238-218-232.snfcca.dsl-w.verizon.net [96.238.218.232]) (authenticated bits=0) by lakerest.net (8.14.3/8.14.3) with ESMTP id o5OCJYup052083 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 24 Jun 2010 08:19:37 -0400 (EDT) (envelope-from rrs@lakerest.net) DKIM-Signature: a=rsa-sha1; c=simple/simple; d=lakerest.net; s=mail; t=1277381978; h=Cc:Message-Id:From:To:In-Reply-To:Content-Type: Content-Transfer-Encoding:Mime-Version:Subject:Date:References: X-Mailer; b=rreO0ZSWG7q8KW7SChUOUuwvnr1MXiM+I1ulfq53Nke7cyLnkZZQgtd Moi49Lw0zDgiKE2/scORfUWpxN67+jw== Message-Id: <465EA76D-C86C-47B2-8F6E-B60CFDBB087A@lakerest.net> From: Randall Stewart To: Bob Johnson In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 24 Jun 2010 05:19:29 -0700 References: <20100622221228.GA93249@onelab2.iet.unipi.it> <20100623232402.X45536@delplex.bde.org> <9C936FEB-4858-4D8D-89CC-182EA3A80365@lakerest.net> <20100623171222.GA7981@onelab2.iet.unipi.it> <4C226354.80601@elischer.org> X-Mailer: Apple Mail (2.936) Cc: net@freebsd.org Subject: Re: Observations from an old timer playing with 64 bit numbers... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 12:19:39 -0000 Bob: Thats strange... when I do man byteorder (on my FreeBSD 8.0 system upgraded to head .. buildworld/installworld/ et.al) I get the same man age showing for both man ntohl and man byteorder This may just be a problem with my system.. I will check the other 8.0 installed systems at work when I get in this AM. I think what's needed here is some hint inside the man ntohl that for 64 bit quantities should use be64toh/htobe64 and a reference to that man page.. R On Jun 23, 2010, at 8:36 PM, Bob Johnson wrote: > On 6/23/10, Randall Stewart wrote: > >> Then I would strongly suggest you go fix the manual page for ntohl/ >> ntohs and >> point people to the be64toh() functions... then people would NOT be >> ignorant. >> >> The problem is there is NO clue in the system... > > Already done, at least in 7.2. But it refers you to them under the > alias byteorder(9). > > - Bob > > -- > -- Bob Johnson > fbsdlists@gmail.com > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > ------------------------------ Randall Stewart 803-317-4952 (cell)