Module parser

Source
Expand description

parser module maintains the main logic for processing BGP and MRT messages.

Re-exports§

pub use mrt::mrt_elem::Elementor;
pub use crate::error::ParserError;
pub use crate::error::ParserErrorWithBytes;
pub use bmp::parse_bmp_msg;
pub use bmp::parse_openbmp_header;
pub use bmp::parse_openbmp_msg;
pub use filter::*;
pub use iters::*;
pub use mrt::*;

Modules§

bgp
Provides parsing of BGP messages.
bmp
Provides parsing for BMP and OpenBMP binary-formatted messages.
filter
Message Filters
iters
Provides parser iterator implementation.
mrt
Parse MRT header and content, provides BgpElem struct for per-prefix information.
utils
Provides IO utility functions for read bytes of different length and converting to corresponding structs.

Structs§

BgpkitParser