Home
last modified time | relevance | path

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

/freebsd-12-stable/lib/libc/resolv/
Dres_init.c183 int nsort = 0; in __res_vinit() local
261 statp->nsort = 0; in __res_vinit()
444 while (nsort < MAXRESOLVSORT) { in __res_vinit()
456 statp->sort_list[nsort].addr = a; in __res_vinit()
467 statp->sort_list[nsort].mask = a.s_addr; in __res_vinit()
469 statp->sort_list[nsort].mask = in __res_vinit()
470 net_mask(statp->sort_list[nsort].addr); in __res_vinit()
473 statp->sort_list[nsort].mask = in __res_vinit()
474 net_mask(statp->sort_list[nsort].addr); in __res_vinit()
476 ext->sort_list[nsort].af = AF_INET; in __res_vinit()
[all …]
/freebsd-12-stable/usr.sbin/fmtree/
Dverify.c68 nsort(const FTSENT * const *a, const FTSENT * const *b) in nsort() function
85 if ((t = fts_open(argv, ftsoptions, nsort)) == NULL) in vwalk()
/freebsd-12-stable/lib/libc/net/
Dname6.c596 int nsort = statp->nsort; in _hpsort() local
598 if (hp == NULL || hp->h_addr_list[1] == NULL || nsort == 0) in _hpsort()
601 for (j = 0; j < nsort; j++) { in _hpsort()
Dgethostbydns.c412 if (statp->nsort && haveanswer > 1 && qtype == T_A) in gethostanswer()
725 for (j = 0 ; (unsigned)j < res->nsort; j++) in addrsort()
Dgetaddrinfo.c2167 if (res->nsort && qtype == T_A) { in getanswer()
2218 for (j = 0; (unsigned)j < res->nsort; j++) { in addr4sort()
/freebsd-12-stable/include/
Dresolv.h170 unsigned nsort:4; /*%< number of elements in sort_list[] */ member