Enum sawp_gre::ErrorFlags [−][src]
#[repr(u8)]
pub enum ErrorFlags {
RESERVE,
VERSION,
RESERVE1,
MAX_SRE_REACHED,
}
Expand description
Flags which identify messages which parse as Gre but contain invalid data. The caller can use the message’s error flags to see if and what errors were in the pack of bytes and take action using this information.
Variants
Indicate that a reserve bit in the gre_flags field is inappropriately set
Indicate that a reserve bit in the version field (including an incorrect version) is inappropriately set
Indicate that a reserve bit in the reserve1 field is inappropriately set. This is only a concern with the current version of GRE (RFC 2874)
Indicate that the maximum number of source route entries has been processed. This means that there is more data remaining than what was processed into the message.
Trait Implementations
A list of all flag variants in the enum
Auto Trait Implementations
impl RefUnwindSafe for ErrorFlags
impl Send for ErrorFlags
impl Sync for ErrorFlags
impl Unpin for ErrorFlags
impl UnwindSafe for ErrorFlags
Blanket Implementations
Mutably borrows from an owned value. Read more