Home
last modified time | relevance | path

Searched refs:nsort (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/resolv/
Dres_init.c182 int nsort = 0; in __res_vinit() local
242 statp->nsort = 0; in __res_vinit()
391 while (nsort < MAXRESOLVSORT) { in __res_vinit()
403 statp->sort_list[nsort].addr = a; in __res_vinit()
414 statp->sort_list[nsort].mask = a.s_addr; in __res_vinit()
416 statp->sort_list[nsort].mask = in __res_vinit()
417 net_mask(statp->sort_list[nsort].addr); in __res_vinit()
420 statp->sort_list[nsort].mask = in __res_vinit()
421 net_mask(statp->sort_list[nsort].addr); in __res_vinit()
423 nsort++; in __res_vinit()
[all …]
/bionic/libc/dns/include/
Dresolv_private.h174 unsigned nsort:4; /* number of elements in sort_list[] */ member
/bionic/libc/dns/net/
Dgethnamaddr.c463 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()
1134 for (j = 0 ; (unsigned)j < res->nsort; j++) in addrsort()