Function simple_dns::header_buffer::rcode
source · pub fn rcode(buffer: &[u8]) -> Result<RCODE>
Expand description
Get the RCODE from the buffer.
WARNING: This information may be wrong if there is an OPT record in packet
pub fn rcode(buffer: &[u8]) -> Result<RCODE>
Get the RCODE from the buffer.
WARNING: This information may be wrong if there is an OPT record in packet