pub fn parse_bgp_notification_message(
    input: &mut Cursor<&[u8]>,
    bgp_msg_length: u64
) -> Result<BgpNotificationMessage, ParserError>
Expand description

Parse BGP NOTIFICATION messages.

The BGP NOTIFICATION messages contains BGP error codes received from a connected BGP router. The error code is parsed into [BgpError] data structure and any unknown codes will produce warning messages, but not critical errors.