Subject: Re: ntoh{l,s}, hton{l,s} not in libc for ns32k, powerpc.
To: Simon Burge <simonb@wasabisystems.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-userlevel
Date: 09/19/2001 13:26:22
On Fri, 21 Sep 2001, Simon Burge wrote:

> Folks,
>
> For the ns32k and powerpc architectures, there's no network byte order
> functions in libc itself.  In fact, ns32k has a byte_swap_4.S and a
> byte_swap_4.S, but they aren't included in arch/ns32k/gen/Makefile.inc!
> For powerpc, these functions are easy to code :-)
>
> Anyone have problems with me adding the network byte order functions to
> libc for these architectures?

At least for powerpc, I thought our includes defined these functions away
(since all of our powerpc ports are big-endian)? I'm not against you
adding them, just confused as to how we'd get programs which needed them.

Take care,

Bill