Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNSCrypt/encrypted-dns-server
/ nscount
Function
nscount
src/dns.rs:92–94 ·
view source on GitHub ↗
(packet: &[u8])
Source
from the content-addressed store, hash-verified
90
91
#[inline]
92
fn nscount(packet: &[u8]) -> u16 {
93
BigEndian::read_u16(&packet[8..])
94
}
95
96
#[inline]
97
pub fn arcount(packet: &[u8]) -> u16 {
Callers
4
min_ttl
Function · 0.85
set_ttl
Function · 0.85
set_edns_max_payload_size
Function · 0.85
query_meta
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected