Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_init.c183 int nsort = 0; in __res_vinit() local
243 statp->nsort = 0; in __res_vinit()
390 while (nsort < MAXRESOLVSORT) { in __res_vinit()
402 statp->sort_list[nsort].addr = a; in __res_vinit()
413 statp->sort_list[nsort].mask = a.s_addr; in __res_vinit()
415 statp->sort_list[nsort].mask = in __res_vinit()
416 net_mask(statp->sort_list[nsort].addr); in __res_vinit()
419 statp->sort_list[nsort].mask = in __res_vinit()
420 net_mask(statp->sort_list[nsort].addr); in __res_vinit()
422 nsort++; in __res_vinit()
[all …]
/bionic/libc/dns/include/
Dresolv_private.h177 unsigned nsort:4; /* number of elements in sort_list[] */ member
/bionic/libc/dns/net/
Dgethnamaddr.c464 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()
1135 for (j = 0 ; (unsigned)j < res->nsort; j++) in addrsort()