Searched refs:sort_list (Results 1 – 7 of 7) sorted by relevance
142 #define DYNARRAY_STRUCT sort_list158 struct sort_list sort_list; /* Address preference sorting list. */ member184 sort_list_init (&parser->sort_list); in resolv_conf_parser_init()208 sort_list_free (&parser->sort_list); in resolv_conf_parser_free()500 sort_list_add (&parser->sort_list, e); in res_vinit_1()543 || sort_list_has_failed (&parser->sort_list)) in res_vinit_1()597 parser.template.sort_list = sort_list_begin (&parser.sort_list); in __resolv_conf_load()598 parser.template.sort_list_size = sort_list_size (&parser.sort_list); in __resolv_conf_load()
329 if (resp->sort_list[i].addr.s_addr != conf->sort_list[i].addr.s_addr in resolv_conf_matches()330 || resp->sort_list[i].mask != conf->sort_list[i].mask) in resolv_conf_matches()396 + init->sort_list_size * sizeof (init->sort_list[0]) in __resolv_conf_allocate()447 conf->sort_list = array; in __resolv_conf_allocate()449 array[i] = init->sort_list[i]; in __resolv_conf_allocate()543 resp->sort_list[i].addr = conf->sort_list[i].addr; in update_from_conf()544 resp->sort_list[i].mask = conf->sort_list[i].mask; in update_from_conf()
160 return ctx->conf->sort_list[index]; in __resolv_context_sort_entry()166 .addr = ctx->resp->sort_list[index].addr, in __resolv_context_sort_entry()167 .mask = ctx->resp->sort_list[index].mask, in __resolv_context_sort_entry()
51 const struct resolv_sortlist_entry *sort_list; member
171 if (inet_ntop (AF_INET, &resp->sort_list[i].addr, in print_resp()175 if (inet_ntop (AF_INET, &resp->sort_list[i].mask, in print_resp()
888 if (_res.sort_list[j].addr.s_addr == in addrsort()889 (((struct in_addr *)(*p))->s_addr & _res.sort_list[j].mask)) in addrsort()
32 } sort_list[MAXRESOLVSORT]; member
Completed in 15 milliseconds