Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 5 of 5) sorted by relevance

/nscd/
A Dnscd-client.h220 uint32_t ttl; /* TTL value used. */ member
242 nscd_ssize_t recsize, uint32_t ttl) in datahead_init_common() argument
252 head->ttl = ttl; in datahead_init_common()
255 return head->timeout = time (NULL) + ttl; in datahead_init_common()
260 nscd_ssize_t recsize, uint8_t nreloads, uint32_t ttl) in datahead_init_pos() argument
262 time_t ret = datahead_init_common (head, allocsize, recsize, ttl); in datahead_init_pos()
272 nscd_ssize_t recsize, uint32_t ttl) in datahead_init_neg() argument
274 time_t ret = datahead_init_common (head, allocsize, recsize, ttl); in datahead_init_neg()
A Daicache.c93 int32_t ttl = INT32_MAX; in addhstaiX() local
122 &rc6, &herrno, &ttl)); in addhstaiX()
159 if (ttl != 0 && he == NULL) in addhstaiX()
210 &rc6, &herrno, &ttl, in addhstaiX()
231 ttl == INT32_MAX ? &ttl : NULL, in addhstaiX()
331 if (ttl != 0 && he == NULL) in addhstaiX()
365 ttl == INT32_MAX ? db->postimeout : ttl); in addhstaiX()
398 dh->ttl = dataset->head.ttl; in addhstaiX()
454 timeout = dh->timeout = time (NULL) + dh->ttl; in addhstaiX()
A Dhstcache.c95 int32_t ttl) in cache_addhst() argument
124 timeout = dh->timeout = t + dh->ttl; in cache_addhst()
155 (ttl == INT32_MAX in cache_addhst()
156 ? db->negtimeout : ttl)); in cache_addhst()
256 ttl == INT32_MAX ? db->postimeout : ttl); in cache_addhst()
313 dh->ttl = dataset->head.ttl; in cache_addhst()
438 int32_t ttl = INT32_MAX; in addhstbyX() local
460 tmpbuf.data, tmpbuf.length, &hst, &ttl) != 0 in addhstbyX()
478 h_errno == TRY_AGAIN ? errval : 0, ttl); in addhstbyX()
A Dnetgroupcache.c387 dh->ttl = dataset->head.ttl; in addgetnetgrentX()
515 he == NULL ? 0 : dh->nreloads + 1, result->head.ttl); in addinnetgrX()
563 dh->ttl = dataset->head.ttl; in addinnetgrX()
A Dcachedumper.c155 DH (ttl); in nscd_print_cache()

Completed in 14 milliseconds