Subject: Re: hton64
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 06/26/1997 06:50:09
>> [...] needs hton64 & ntoh64. [...] I'm wondering if we could add
>> them to -current?
> What else uses them? Are they a good general-purpose thing?
Aren't they? We're going to see more and more network protocols that
use 64-bit integers, and if they're sane they're going to be in network
byte order. I'd say some sort of [hn]to[nh]* functions for 64-bit
quantities should be there; I'll leave the names up to someone else.
(I think they should be hton64 and ntoh64, but I also think the current
[nh]to[hn][sl] should be renamed to be ?to?32 and ?to?16...even though
I know that will never fly simply for compatability reasons.)
der Mouse
mouse@rodents.montreal.qc.ca
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B