Home
last modified time | relevance | path

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

/dports/dns/dnsdist/dnsdist-1.6.1/
H A Dtest-dnsdist_cc.cc1090 size_t existingOptLen = optLen; in BOOST_AUTO_TEST_CASE() local
1091 BOOST_CHECK(existingOptLen < responseLen); in BOOST_AUTO_TEST_CASE()
1095 responseLen -= (existingOptLen - optLen); in BOOST_AUTO_TEST_CASE()
1142 size_t existingOptLen = optLen; in BOOST_AUTO_TEST_CASE() local
1143 BOOST_CHECK(existingOptLen < responseLen); in BOOST_AUTO_TEST_CASE()
1147 responseLen -= (existingOptLen - optLen); in BOOST_AUTO_TEST_CASE()
1198 size_t existingOptLen = optLen; in BOOST_AUTO_TEST_CASE() local
1199 BOOST_CHECK(existingOptLen < responseLen); in BOOST_AUTO_TEST_CASE()
1203 responseLen -= (existingOptLen - optLen); in BOOST_AUTO_TEST_CASE()
1250 size_t existingOptLen = optLen; in BOOST_AUTO_TEST_CASE() local
[all …]
H A Ddnsdist-ecs.cc962 …const size_t existingOptLen = /* root */ 1 + DNS_TYPE_SIZE + DNS_CLASS_SIZE + EDNS_EXTENDED_RCODE_… in addEDNSToQueryTurnedResponse() local
963 if (existingOptLen >= packet.size()) { in addEDNSToQueryTurnedResponse()
976 packet.resize(packet.size() - existingOptLen); in addEDNSToQueryTurnedResponse()
H A Ddnsdist.cc369 size_t existingOptLen = optLen; in fixUpResponse() local
371 response.resize(response.size() - (existingOptLen - optLen)); in fixUpResponse()
/dports/dns/powerdns/pdns-4.5.2/pdns/
H A Ddnsdist-ecs.cc962 …const size_t existingOptLen = /* root */ 1 + DNS_TYPE_SIZE + DNS_CLASS_SIZE + EDNS_EXTENDED_RCODE_… in addEDNSToQueryTurnedResponse() local
963 if (existingOptLen >= packet.size()) { in addEDNSToQueryTurnedResponse()
976 packet.resize(packet.size() - existingOptLen); in addEDNSToQueryTurnedResponse()