Lines Matching refs:crc
19 static struct frec *lookup_frec(unsigned short id, unsigned int crc);
22 unsigned int crc);
23 static unsigned short get_id(int force, unsigned short force_id, unsigned int crc);
211 unsigned int crc = questions_crc(header, plen, daemon->namebuff);
219 else if (forward || (forward = lookup_frec_by_sender(ntohs(header->id), udpaddr, crc)))
253 forward->new_id = get_id(is_sign, forward->orig_id, crc);
255 forward->crc = crc;
805 unsigned int crc = questions_crc(header, (unsigned int)size, daemon->namebuff);
873 /* If the crc of the question section doesn't match the crc we sent, then
876 if (crc == questions_crc(header, (unsigned int)m, daemon->namebuff))
1037 /* crc is all-ones if not known. */
1038 static struct frec *lookup_frec(unsigned short id, unsigned int crc)
1044 (f->crc == crc || crc == 0xffffffff))
1052 unsigned int crc)
1059 f->crc == crc &&
1086 static unsigned short get_id(int force, unsigned short force_id, unsigned int crc)
1092 struct frec *f = lookup_frec(force_id, crc);
1099 while (lookup_frec(ret, crc));