Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2011 19:36:49 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        FreeBSD Arch <freebsd-arch@freebsd.org>
Subject:   ntohq/htonq?
Message-ID:  <306FD881-6140-4DE2-AFF1-95C8079E4187@xcllnt.net>

next in thread | raw e-mail | index | archive | help
All,

Is there a reason not to add ntohq and htonq to the short
and long versions we (and everyone else) already has?

Juniper has 64-bit entities that go over the wire in
network byte order and, while these macros are absolutely
arcane, I see no reason not to complete them with 64-bit
variants.

I did some googling and htonq and ntohq seem to be de
facto names used, but oddly enough no OS has them defined.
It's surreal. Are there better alternatives we should
migrate to?

-- 
Marcel Moolenaar
marcel@xcllnt.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?306FD881-6140-4DE2-AFF1-95C8079E4187>