Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_init.c187 int nserv = 0; /*%< number of nameserver records read from file */ in __res_vinit() local
212 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); in __res_vinit()
214 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
216 u[nserv].sin.sin_family = AF_INET; in __res_vinit()
217 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); in __res_vinit()
219 u[nserv].sin.sin_len = sizeof(struct sockaddr_in); in __res_vinit()
221 nserv++; in __res_vinit()
224 u[nserv].sin6.sin6_addr = in6addr_loopback; in __res_vinit()
226 u[nserv].sin6.sin6_addr = in6addr_any; in __res_vinit()
228 u[nserv].sin6.sin6_family = AF_INET6; in __res_vinit()
[all …]
/titanic_41/usr/src/lib/libresolv/
H A Dres_init.c97 int nserv = 0; /* number of nameserver records read from file */ in res_init() local
252 (nserv < MAXNS)) { in res_init()
258 if ((_res.nsaddr_list[nserv].sin_addr.s_addr = in res_init()
263 _res.nsaddr_list[nserv].sin_family = AF_INET; in res_init()
264 _res.nsaddr_list[nserv].sin_port = htons(NAMESERVER_PORT); in res_init()
265 nserv++; in res_init()
269 if (nserv > 1) in res_init()
270 _res.nscount = nserv; in res_init()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c7095 int nserv) in ibdm_serv_cmp() argument
7100 for (ii = 0; ii < nserv; ii++, serv1++, serv2++) { in ibdm_serv_cmp()