[Bro-Dev] Bro policy script: vector
gregor at icir.org
Thu Feb 17 11:56:58 PST 2011
I was wondering how I can use vectors in Bro policy script.
* How can I add/delete elements?
* Where can I add/delete elements (at the beginning? at the end? both)
(i.e., can it be used as stack and/or FIFO)
* How can I iterate over the vector?
* Can I insert elements at arbitrary positions? Delete at arbitrary
(there don't seem be too many places in the default scripts were vectors
are used and it seems that most are used as consts).
I think I've also seen places where "table[count] of XYZ" is used
instead of a vector.
<gregor at icir.org> <gregor at icsi.berkeley.edu>
Int. Computer Science Institute (ICSI)
1947 Center St., Ste. 600
Berkeley, CA 94704, USA
More information about the bro-dev