[OpenAFS-devel] AF_INET byte order

Ken Hornstein kenh@cmf.nrl.navy.mil
Wed, 07 Mar 2007 13:03:47 -0500


>The code as written is wrong.  I guess I'll change it to
>
>#if defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
>
>but I wonder if it shouldn't really be
>
>#if !defined(AFS_LINUX_ENV)

I with Kris on this ... you shouldn't need an #ifdef at all.  I have
not seen hton* _ever_ used for the address family.  I would guess
that's because the address family never made it onto the wire.

--Ken