mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00

In response to feedback from Robin: - rename "ip_hdr" to "ip4_hdr" - pkt_hdr$ip6 is now of type "ip6_hdr" instead of "ip6_hdr_chain" - "ip6_hdr_chain" no longer contains an "ip6_hdr" field, instead it's the other way around, "ip6_hdr" contains an "ip6_hdr_chain" - other internal refactoring
9 lines
301 B
Text
9 lines
301 B
Text
# @TEST-EXEC: bro -C -b -r $TRACES/ext_hdr_hbh_routing.trace %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
event ipv6_ext_headers(c: connection, p: pkt_hdr)
|
|
{
|
|
for ( h in p$ip6$exts$routing )
|
|
if ( p$ip6$exts$routing[h]$rtype == 0 )
|
|
print routing0_data_to_addrs(p$ip6$exts$routing[h]$data);
|
|
}
|