Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bendudson/EuraliOS
/ header
Method
header
tcp/src/dns.rs:107–109 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
105
}
106
107
fn header(&self) -> u16 {
108
u16::from_be_bytes(self.datagram[2..4].try_into().unwrap())
109
}
110
111
fn is_response(&self) -> bool {
112
self.header().get_bit(15)
Callers
2
is_response
Method · 0.80
rcode
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected