Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetnetnamadr.c122 int nserv = 0; in getnetbyname() local
128 switch (service_order[nserv]) { in getnetbyname()
141 nserv++; in getnetbyname()
150 int nserv = 0; in getnetbyaddr() local
156 switch (service_order[nserv]) { in getnetbyaddr()
169 nserv++; in getnetbyaddr()
Dgethostnamadr.c140 int nserv = 0; in gethostbyname2() local
146 switch (service_order[nserv]) { in gethostbyname2()
159 nserv++; in gethostbyname2()
168 int nserv = 0; in gethostbyaddr() local
174 switch (service_order[nserv]) { in gethostbyaddr()
187 nserv++; in gethostbyaddr()
Dres_init.c158 int nserv = 0; /* number of nameserver records read from file */ in res_init() local
318 if (MATCH(buf, "nameserver") && nserv < MAXNS) { in res_init()
325 _res.nsaddr_list[nserv].sin_addr = a; in res_init()
326 _res.nsaddr_list[nserv].sin_family = AF_INET; in res_init()
327 _res.nsaddr_list[nserv].sin_port = in res_init()
329 nserv++; in res_init()
381 if (nserv > 1) in res_init()
382 _res.nscount = nserv; in res_init()
433 if ( 0 == nserv ) { in res_init()