Home | History | Annotate | Download | only in dns

Lines Matching defs:DnsSession

37 struct DnsSession::ServerStats {
65 base::LazyInstance<DnsSession::RttBuckets>::Leaky DnsSession::rtt_buckets_ =
68 DnsSession::RttBuckets::RttBuckets() : base::BucketRanges(kRTTBucketCount + 1) {
72 DnsSession::SocketLease::SocketLease(scoped_refptr<DnsSession> session,
77 DnsSession::SocketLease::~SocketLease() {
81 DnsSession::DnsSession(const DnsConfig& config,
99 DnsSession::~DnsSession() {
103 int DnsSession::NextQueryId() const { return rand_callback_.Run(); }
105 unsigned DnsSession::NextFirstServerIndex() {
112 unsigned DnsSession::NextGoodServerIndex(unsigned server_index) {
140 void DnsSession::RecordServerFailure(unsigned server_index) {
147 void DnsSession::RecordServerSuccess(unsigned server_index) {
160 void DnsSession::RecordRTT(unsigned server_index, base::TimeDelta rtt) {
189 void DnsSession::RecordLostPacket(unsigned server_index, int attempt) {
198 void DnsSession::RecordServerStats() {
213 base::TimeDelta DnsSession::NextTimeout(unsigned server_index, int attempt) {
221 scoped_ptr<DnsSession::SocketLease> DnsSession::AllocateSocket(
236 scoped_ptr<StreamSocket> DnsSession::CreateTCPSocket(
242 void DnsSession::FreeSocket(unsigned server_index,
251 base::TimeDelta DnsSession::NextTimeoutFromJacobson(unsigned server_index,
267 base::TimeDelta DnsSession::NextTimeoutFromHistogram(unsigned server_index,