Searched refs:getResponseProbability (Results 1 – 2 of 2) sorted by relevance
298 double getResponseProbability(int protocol) const;
562 double DNSResponder::getResponseProbability(int protocol) const { in getResponseProbability() function in test::DNSResponder784 if (arc4random_uniform(bound) > bound * getResponseProbability(protocol)) { in handleDNSRequest()