Home | History | Annotate | Download | only in roken

Lines Matching refs:rr

56     {"srv-rr-order", 0,
58 "do not test SRV RR ordering", NULL },
85 struct rk_resource_record *rr;
141 for (i = 0, rr = reply.head; i < NUMRRS; i++) {
142 if (rr == NULL)
144 printf("SRV RR order run %lu input: prio %lu weight %lu\n",
145 (unsigned long)run, (unsigned long)rr->u.srv->priority,
146 (unsigned long)rr->u.srv->weight);
147 rr = rr->next;
158 for (i = 0, rr = reply.head; i < NUMRRS; i++) {
159 if (rr == NULL)
161 if (rr->u.srv->priority < prio0 ||
162 (rr->u.srv->priority != prio0 &&
163 (i % 4 != 0 || rr->u.srv->priority > prio0 + 1))) {
164 printf("SRV RR order run %lu failed\n", run);
167 prio0 = rr->u.srv->priority;
168 printf("SRV RR order run %lu output: prio %lu weight %lu\n",
169 (unsigned long)run, (unsigned long)rr->u.srv->priority,
170 (unsigned long)rr->u.srv->weight);
171 rr = rr->next;
182 struct rk_resource_record *rr;
231 for (rr = r->head; rr;rr=rr->next) {
232 printf("%-30s %-5s %-6d ", rr->domain, rk_dns_type_to_string(rr->type), rr->ttl);
233 switch (rr->type) {
237 printf("%s\n", (char*)rr->u.data);
240 printf("%s\n", inet_ntoa(*rr->u.a));
244 printf("%d %s\n", rr->u.mx->preference, rr->u.mx->domain);
248 struct rk_srv_record *srv = rr->u.srv;
254 printf("%s\n", rr->u.txt);
258 struct rk_sig_record *sig = rr->u.sig;
271 struct rk_key_record *key = rr->u.key;
278 struct rk_sshfp_record *sshfp = rr->u.sshfp;
290 struct rk_ds_record *ds = rr->u.ds;