[Bro-Dev] #968: Add bytestring_to_uint16, uint32, uint64 functions

Robin Sommer robin at icir.org
Fri Mar 22 08:59:11 PDT 2013



On Fri, Mar 22, 2013 at 15:06 -0000, you wrote:

>  ntoh* functions, but considering that network order is big endian, there
>  are no functions for converting network order to little endian if the host
>  machine is also big endian.. Or maybe i'm overseeing something?

Thinking about it, would it be better to switch the boolean to
indicate host- vs. network-byte order, rather than big-endian vs
low-endian?

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list