id
simple_
dns
0.7.1
In simple_
dns::
header_
buffer
simple_dns
::
header_buffer
Function
id
Copy item path
Source
pub fn id(buffer: &[
u8
]) ->
Result
<
u16
>
Expand description
Returns the packet id from the header buffer