Lines Matching refs:unreachable
562 struct dns_unreachable unreachable[UNREACH_CHACHE_SIZE];
11768 "unreachable (cached)",
11966 "(source %s) is unreachable (cached)",
15484 "master %s (source %s) is unreachable (cached)",
15915 memset(zmgr->unreachable, 0, sizeof(zmgr->unreachable));
16779 if (zmgr->unreachable[i].expire >= seconds &&
16780 isc_sockaddr_equal(&zmgr->unreachable[i].remote, remote) &&
16781 isc_sockaddr_equal(&zmgr->unreachable[i].local, local)) {
16785 zmgr->unreachable[i].last = seconds;
16786 count = zmgr->unreachable[i].count;
16814 if (isc_sockaddr_equal(&zmgr->unreachable[i].remote, remote) &&
16815 isc_sockaddr_equal(&zmgr->unreachable[i].local, local)) {
16816 if (zmgr->unreachable[i].expire == 0)
16821 zmgr->unreachable[i].expire = 0;
16825 "from unreachable cache",
16847 if (isc_sockaddr_equal(&zmgr->unreachable[i].remote, remote) &&
16848 isc_sockaddr_equal(&zmgr->unreachable[i].local, local))
16851 if (zmgr->unreachable[i].expire < seconds)
16854 if (zmgr->unreachable[i].last < last) {
16855 last = zmgr->unreachable[i].last;
16864 zmgr->unreachable[i].expire = seconds + UNREACH_HOLD_TIME;
16865 zmgr->unreachable[i].last = seconds;
16866 if (zmgr->unreachable[i].expire < seconds)
16867 zmgr->unreachable[i].count = 1;
16869 zmgr->unreachable[i].count++;
16874 zmgr->unreachable[slot].expire = seconds + UNREACH_HOLD_TIME;
16875 zmgr->unreachable[slot].last = seconds;
16876 zmgr->unreachable[slot].remote = *remote;
16877 zmgr->unreachable[slot].local = *local;
16878 zmgr->unreachable[slot].count = 1;
16883 zmgr->unreachable[oldest].expire = seconds + UNREACH_HOLD_TIME;
16884 zmgr->unreachable[oldest].last = seconds;
16885 zmgr->unreachable[oldest].remote = *remote;
16886 zmgr->unreachable[oldest].local = *local;
16887 zmgr->unreachable[oldest].count = 1;