Skip to main content

Module dissect

Module dissect 

Source
Expand description

Best-effort dissection of MRT records.

Produces a DissectionNode tree over the whole record — common header fields, the BGP4MP subheader for the message subtypes, and then delegation into the embedded BGP message (see crate::parser::bgp::dissect) — so every field of every layer shares one byte-offset coordinate space. Like the BGP dissector this is a separate opt-in pass: it never runs on any default iterator path and never fails on malformed input.

Functions§

dissect_mrt_bytes
Dissect raw MRT record bytes, best-effort.
dissect_mrt_record
Dissect one MRT record from its raw framing.