[Bro] How to define a link list in Bro

Vlad Grigorescu vlad at grigorescu.org
Sat Jan 10 17:49:37 PST 2015


That's not something that the Bro scripting language supports. When you
start getting into more advanced data structures like that, that's often a
sign that you need to write a plugin in C++ instead of trying to do this in
script-land. What are you trying to accomplish with linked lists?

  --Vlad

On Sat, Jan 10, 2015 at 7:41 PM, Ren, Wenyu <wren3 at illinois.edu> wrote:

> Dear all,
>
> Does anyone know how to construct a link list in bro? When I try to define
> a type that represents a node, it needs to contain a field that has a type
> of itself, which bro forbid me to do so. I have also tried to redefine, but
> bro forbid me to change the type when I  refine my node.
>
> Thanks a lot.
>
> Wenyu
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150110/0a9af931/attachment.html 


More information about the Bro mailing list