Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
44
pub fn rcode_servfail(packet: &[u8]) -> bool {
45
rcode(packet) == DNS_RCODE_SERVFAIL
46
}
47
48
#[inline]
49
pub fn set_rcode_servfail(packet: &mut [u8]) {
Callers
1
resolve
Function · 0.85
Calls
1
rcode
Function · 0.85
Tested by
no test coverage detected