pub fn has_flags(buffer: &[u8], flags: PacketFlag) -> Result<bool>
Expand description
Verify if buffer has the flags set.
WARNING: This information may be wrong if there is an OPT record in packet
pub fn has_flags(buffer: &[u8], flags: PacketFlag) -> Result<bool>
Verify if buffer has the flags set.
WARNING: This information may be wrong if there is an OPT record in packet