MCPcopy Create free account
hub / github.com/DNSCrypt/encrypted-dns-server / rcode_servfail

Function rcode_servfail

src/dns.rs:44–46  ·  view source on GitHub ↗
(packet: &[u8])

Source from the content-addressed store, hash-verified

42
43#[inline]
44pub fn rcode_servfail(packet: &[u8]) -> bool {
45 rcode(packet) == DNS_RCODE_SERVFAIL
46}
47
48#[inline]
49pub fn set_rcode_servfail(packet: &mut [u8]) {

Callers 1

resolveFunction · 0.85

Calls 1

rcodeFunction · 0.85

Tested by

no test coverage detected