pub fn validate_keepalive(header: &BgpHeader) -> Result<(), DecodeError>Expand description
Validate that a KEEPALIVE message has the correct length. KEEPALIVE is header-only โ exactly 19 bytes, no body.
ยงErrors
Returns DecodeError::InvalidKeepaliveLength if the header length is
not exactly 19 bytes.