Lines Matching defs:id

72 	unsigned int	qid_increment;	/*%< id increment on collision */
140 dns_messageid_t id;
580 * Return a hash of the destination and message id.
583 dns_hash(dns_qid_t *qid, isc_sockaddr_t *dest, dns_messageid_t id,
589 ret ^= (id << 16) | port;
999 * Find an entry for query ID 'id', socket address 'dest', and port number
1004 entry_search(dns_qid_t *qid, isc_sockaddr_t *dest, dns_messageid_t id,
1014 if (res->id == id && isc_sockaddr_equal(dest, &res->host) &&
1125 dns_messageid_t id;
1193 id = resp->id;
1249 dres = dns_message_peekheader(&source, &id, &flags);
1257 "got valid DNS message header, /QR %c, id %u",
1258 ((flags & DNS_MESSAGEFLAG_QR) ? '1' : '0'), id);
1276 bucket = dns_hash(qid, &ev->address, id, disp->localport);
1279 resp = entry_search(qid, &ev->address, id, disp->localport,
1290 } else if (resp->id != id || !isc_sockaddr_equal(&ev->address,
1358 rev->id = id;
1417 dns_messageid_t id;
1503 dres = dns_message_peekheader(&tcpmsg->buffer, &id, &flags);
1510 "got valid DNS message header, /QR %c, id %u",
1511 ((flags & DNS_MESSAGEFLAG_QR) ? '1' : '0'), id);
1532 bucket = dns_hash(qid, &tcpmsg->address, id, disp->localport);
1534 resp = entry_search(qid, &tcpmsg->address, id, disp->localport, bucket);
1554 rev->id = id;
2965 dns_messageid_t id;
3009 rev->id = oldestresp->id;
3053 id = (dns_messageid_t)dispatch_arc4random(DISP_ARC4CTX(disp));
3054 bucket = dns_hash(qid, dest, id, localport);
3057 if (entry_search(qid, dest, id, localport, bucket) == NULL) {
3061 id += qid->qid_increment;
3062 id &= 0x0000ffff;
3063 bucket = dns_hash(qid, dest, id, localport);
3086 res->id = id;
3131 *idp = id;