[Bro-Dev] #968: Add bytestring_to_uint16, uint32, uint64 functions
Bro Tracker
bro at tracker.bro.org
Fri Mar 22 08:59:55 PDT 2013
#968: Add bytestring_to_uint16, uint32, uint64 functions
--------------------+------------------------
Reporter: yun | Owner:
Type: Patch | Status: new
Priority: Low | Milestone: Bro2.2
Component: Bro | Version: git/master
Resolution: | Keywords: bytestring
--------------------+------------------------
Comment (by robin):
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
--
Ticket URL: <http://tracker.bro.org/bro/ticket/968#comment:30>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list