Home | History | Annotate | Download | only in roken

Lines Matching defs:srv

56     {"srv-rr-order", 0,
58 "do not test SRV RR ordering", NULL },
94 /* Test with two equal weight zero SRV records */
96 rrs[0].u.srv = &srvs[0];
102 rrs[1].u.srv = &srvs[1];
119 rrs[i].u.srv = &srvs[i];
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);
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);
248 struct rk_srv_record *srv = rr->u.srv;
249 printf("%d %d %d %s\n", srv->priority, srv->weight,
250 srv->port, srv->target);