[Bro-Dev] #968: Add bytestring_to_uint16, uint32, uint64 functions
Bro Tracker
bro at tracker.bro.org
Fri Mar 22 10:24:15 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 yun):
Replying to [comment:30 robin]:
> 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?
I think that would not work as that would make the bro script platform
dependent. So for example using the bro script on a little endian platform
would read the bytestream differently on a big endian platform if you
specified host order.
--
Ticket URL: <http://tracker.bro.org/bro/ticket/968#comment:31>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list