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

Bro Tracker bro at tracker.bro.org
Tue Mar 19 12:44: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 seth):

 > That's why I also added another patch for reversing a (byte)string, see
 > #969.

 I wondered if that was why.  I'll let Robin or Vern (or someone else)
 comment on what they think about that approach.

 > Do you think that will solve the problem? Also, does bro function
 support
 > "optional" arguments? I personally think that it's annoying to specify
 the
 > endianness for every call if it cannot be optional.

 We literally just talked about that a little bit ago.  There has been
 discussion about adding optional arguments for quite a while.

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



More information about the bro-dev mailing list