[Bro-Dev] Overload Bro Events

Jon Siwek jsiwek at corelight.com
Thu Apr 12 12:44:07 PDT 2018

On 4/12/18 2:23 PM, DW wrote:
> Hello,
> it is possible to overload events in Bro based on the event-parameter
> and trigger the "right" event based on the given parameter?
> E.g. I would define events like this
> event overload%(c: connection%);
> event overload%(c: connection, h: header%);
> event overload%(c: connection, h: header, d: data%);

Overloading is not supported for functions in general (function/event/hook).

- Jon

More information about the bro-dev mailing list