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