Lines Matching refs:alen
86 int alen, int whichserver, int tcp,
97 const unsigned char *abuf, int alen);
100 unsigned char *abuf, int alen);
536 int alen, int whichserver, int tcp, in process_answer() argument
547 if (alen < HFIXEDSZ) in process_answer()
568 if ((q->qid == id) && same_questions(q->qbuf, q->qlen, abuf, alen)) in process_answer()
581 if ((tc || alen > PACKETSZ) && !tcp && !(channel->flags & ARES_FLAG_IGNTC)) in process_answer()
594 if (alen > PACKETSZ && !tcp) in process_answer()
595 alen = PACKETSZ; in process_answer()
611 end_query(channel, query, ARES_SUCCESS, abuf, alen); in process_answer()
1101 const unsigned char *abuf, int alen) in same_questions() argument
1113 if (qlen < HFIXEDSZ || alen < HFIXEDSZ) in same_questions()
1145 if (ares_expand_name(a.p, abuf, alen, &a.name, &a.namelen) in same_questions()
1152 if (a.p + QFIXEDSZ > abuf + alen) in same_questions()
1208 unsigned char *abuf, int alen) in end_query() argument
1267 query->callback(query->arg, status, query->timeouts, abuf, alen); in end_query()