◆ anonymous enum
◆ decode()
| static DnsHeader Slic3r::DnsHeader::decode |
( |
const std::vector< char > & |
buffer | ) |
|
|
inlinestatic |
133 {
134 DnsHeader res;
136 res.id = endian::big_to_native(data_16[0]);
137 res.flags = endian::big_to_native(data_16[1]);
138 res.qdcount = endian::big_to_native(data_16[2]);
139 res.ancount = endian::big_to_native(data_16[3]);
140 res.nscount = endian::big_to_native(data_16[4]);
141 res.arcount = endian::big_to_native(data_16[5]);
142 return res;
143 }
unsigned __int16 uint16_t
Definition unistd.h:78
References ancount, arcount, flags, id, nscount, and qdcount.
Referenced by Slic3r::DnsMessage::decode().
◆ rrcount()
| uint32_t Slic3r::DnsHeader::rrcount |
( |
| ) |
const |
|
inline |
◆ ancount
◆ arcount
◆ flags
◆ id
◆ nscount
◆ qdcount
The documentation for this struct was generated from the following file: