Home | History | Annotate | Download | only in c-ares

Lines Matching full:channel

72 static struct query* find_query_by_id(ares_channel channel, unsigned short id)
80 list_head = &(channel->queries_by_qid[qid % ARES_QID_TABLE_SIZE]);
97 static unsigned short generate_unique_id(ares_channel channel)
102 id = ares__generate_new_id(&channel->id_key);
103 } while (find_query_by_id(channel, id));
108 void ares_query(ares_channel channel, const char *name, int dnsclass,
116 rd = !(channel->flags & ARES_FLAG_NORECURSE);
117 status = ares_mkquery(name, dnsclass, type, channel->next_id, rd, &qbuf,
126 channel->next_id = generate_unique_id(channel);
140 ares_send(channel, qbuf, qlen, qcallback, qquery);