Function bgpkit_parser::parser::bgp::messages::parse_bgp_notification_message
source · pub fn parse_bgp_notification_message(
input: Bytes
) -> Result<BgpNotificationMessage, ParserError>Expand description
Parse BGP NOTIFICATION message.
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.