Home
last modified time | relevance | path

Searched refs:minlen (Results 1 – 1 of 1) sorted by relevance

/packages/modules/DnsResolver/
Dres_mkquery.cpp229 const uint16_t minlen = static_cast<uint16_t>(cp - buf) + 3 * INT16SZ; in res_nopt() local
230 const uint16_t extra = minlen % kEdns0Padding; in res_nopt()
232 if (minlen > buflen) { in res_nopt()
235 padlen = std::min(padlen, static_cast<uint16_t>(buflen - minlen)); in res_nopt()