/bionic/libc/dns/resolv/ |
res_init.c | 176 int nserv = 0; /* number of nameserver records read from file */ local 204 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); 206 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; 208 u[nserv].sin.sin_family = AF_INET; 209 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); 211 u[nserv].sin.sin_len = sizeof(struct sockaddr_in); 213 nserv++; 216 u[nserv].sin6.sin6_addr = in6addr_loopback; 218 u[nserv].sin6.sin6_addr = in6addr_any; 220 u[nserv].sin6.sin6_family = AF_INET6 674 int i, nserv; local [all...] |
res_cache.c | 2120 int nserv; local [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getnetnamadr.c | 122 int nserv = 0;
local 128 switch (service_order[nserv]) {
141 nserv++;
150 int nserv = 0;
local 156 switch (service_order[nserv]) {
169 nserv++;
|
gethostnamadr.c | 140 int nserv = 0;
local 146 switch (service_order[nserv]) {
159 nserv++;
168 int nserv = 0;
local 174 switch (service_order[nserv]) {
187 nserv++;
|
res_init.c | 158 int nserv = 0; /* number of nameserver records read from file */
local 318 if (MATCH(buf, "nameserver") && nserv < MAXNS) {
325 _res.nsaddr_list[nserv].sin_addr = a;
326 _res.nsaddr_list[nserv].sin_family = AF_INET;
327 _res.nsaddr_list[nserv].sin_port =
329 nserv++;
381 if (nserv > 1)
382 _res.nscount = nserv;
433 if ( 0 == nserv ) {
|
/external/wpa_supplicant_8/src/radius/ |
radius_client.c | 244 struct hostapd_radius_server *nserv, 1039 struct hostapd_radius_server *nserv, 1061 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), 1062 nserv->port); 1064 if (oserv && oserv == nserv) { 1070 if (oserv && oserv != nserv && 1071 (nserv->shared_secret_len != oserv->shared_secret_len || 1072 os_memcmp(nserv->shared_secret, oserv->shared_secret, 1073 nserv->shared_secret_len) != 0)) { 1085 radius, nserv->shared_secret [all...] |
/external/wpa_supplicant_8/hostapd/ |
config_file.c | 537 struct hostapd_radius_server *nserv; local 541 nserv = os_realloc_array(*server, *num_server + 1, sizeof(*nserv)); 542 if (nserv == NULL) 545 *server = nserv; 546 nserv = &nserv[*num_server]; 548 (*curr_serv) = nserv; 550 os_memset(nserv, 0, sizeof(*nserv)); [all...] |