Lines Matching refs:cds_res
173 ad_disc_cds_t *cds_res = NULL; in srv_query() local
231 cds_res = srv_parse(msg, len, &scnt, &maxcnt); in srv_query()
232 if (cds_res == NULL) in srv_query()
236 add_preferred(cds_res, prefer, &scnt, maxcnt); in srv_query()
238 get_addresses(cds_res, scnt); in srv_query()
242 qsort(cds_res, scnt, sizeof (*cds_res), in srv_query()
246 return (cds_res); in srv_query()
257 ad_disc_cds_t *cds_res = NULL; in srv_parse() local
294 cds_res = calloc(*maxcnt, sizeof (*cds_res)); in srv_parse()
295 if (cds_res == NULL) { in srv_parse()
300 cds = cds_res; in srv_parse()
348 *scnt = (cds - cds_res); in srv_parse()
400 for (cds = cds_res; cds->cds_ds.host[0] != '\0'; cds++) in srv_parse()
408 return (cds_res); in srv_parse()
411 free(cds_res); in srv_parse()