mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
14 lines
589 B
Text
14 lines
589 B
Text
# @TEST-EXEC: ${DIST}/auxil/zeek-aux/plugin-support/init-plugin -u . PacketDemo Bar
|
|
# @TEST-EXEC: cp -r %DIR/packet-protocol-plugin/* .
|
|
# @TEST-EXEC: ./configure --zeek-dist=${DIST} && make
|
|
# @TEST-EXEC: ZEEK_PLUGIN_PATH=`pwd` zeek -NN PacketDemo::Bar >>output
|
|
# @TEST-EXEC: echo === >>output
|
|
# @TEST-EXEC: ZEEK_PLUGIN_PATH=`pwd` zeek -r $TRACES/raw_packets.trace %INPUT >>output
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER= btest-diff output
|
|
|
|
event bar_message(dsap: count, ssap: count, control: count)
|
|
{
|
|
print fmt("bar_message (DSAP = %x, SSAP = %x, Control = %x)",
|
|
dsap, ssap, control);
|
|
}
|
|
|