Lines Matching refs:answerlen
1058 int answerlen; member
1124 answer_getTTL(const void* answer, int answerlen) in answer_getTTL() argument
1132 if (ns_initparse(answer, answerlen, &handle) >= 0) { in answer_getTTL()
1219 entry_alloc( const Entry* init, const void* answer, int answerlen ) in entry_alloc() argument
1224 size = sizeof(*e) + init->querylen + answerlen; in entry_alloc()
1236 e->answerlen = answerlen; in entry_alloc()
1238 memcpy( (char*)e->answer, answer, e->answerlen ); in entry_alloc()
1517 _dump_answer(const void* answer, int answerlen) in _dump_answer() argument
1528 res_pquery(statep, answer, answerlen, fp); in _dump_answer()
1679 int *answerlen ) in _resolv_cache_lookup() argument
1738 *answerlen = e->answerlen; in _resolv_cache_lookup()
1739 if (e->answerlen > answersize) { in _resolv_cache_lookup()
1746 memcpy( answer, e->answer, e->answerlen ); in _resolv_cache_lookup()
1768 int answerlen ) in _resolv_cache_add() argument
1792 XLOG_ANSWER(answer, answerlen); in _resolv_cache_add()
1795 XLOG_BYTES(answer,answerlen); in _resolv_cache_add()
1822 ttl = answer_getTTL(answer, answerlen); in _resolv_cache_add()
1824 e = entry_alloc(key, answer, answerlen); in _resolv_cache_add()