Function simple_dns::header_buffer::has_flags

source ยท
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