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

Bro Tracker bro at tracker.bro.org
Tue Mar 19 10:15:38 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):

 Attached a new patch that implements bytestring_to_count() and some tests.
 Please review :)

 You cannot read more than 8 bytes (64bit) and will give an error and
 return 0, and everything else will just be padded to 64bit and return the
 value as you expect it would be.

-- 
Ticket URL: <http://tracker.bro.org/bro/ticket/968#comment:14>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list