Lines Matching defs:qname
133 char qname[MAX_DOMAIN_LEN + 1];
139 char qname[MAX_DOMAIN_LEN + 1];
1339 * Set qname to be the domain to query (up to a max of qnlen chars)
1346 parse_query(char *input, char *qname, unsigned int qnlen, int *qtype) {
1385 strcpy(qname, domain_str);
1530 status[count].qname, MAX_DOMAIN_LEN) == -1) {
1532 "query message doesn't have qname?\n");
1546 register_rtt(struct timeval *timestamp, char *qname, int qtype,
1590 "[query=%s/%d, rcode=%u]\n", rtt, qname, qtype, rcode);
1605 register_response(unsigned short int id, unsigned int rcode, char *qname,
1616 if (qi->qtype == qtype && strcasecmp(qi->qname, qname) == 0) {
1617 register_rtt(&qi->sent_timestamp, qname, qtype, rcode);
1626 strcasecmp(status[ct].qname, qname) == 0) {
1631 register_rtt(&status[ct].sent_timestamp, qname, qtype,
1668 char qname[MAX_DOMAIN_LEN + 1];
1690 qname, MAX_DOMAIN_LEN);
1694 "Failed to retrieve qname from response\n");
1704 register_response(resp_id, flags & 0xF, qname, qtype);
1874 strcpy(qi->qname, status[count].qname);