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