Searched defs:ipbuf (Results 1 - 3 of 3) sorted by relevance
/external/c-ares/ |
H A D | ares_getnameinfo.c | 143 char ipbuf[IPBUFSIZ]; local 146 ipbuf[0] = 0; 158 ares_inet_ntop(AF_INET6, &addr6->sin6_addr, ipbuf, IPBUFSIZ); 161 append_scopeid(addr6, flags, ipbuf, sizeof(ipbuf)); 166 ares_inet_ntop(AF_INET, &addr->sin_addr, ipbuf, IPBUFSIZ); 172 callback(arg, ARES_SUCCESS, 0, ipbuf, service); 255 char ipbuf[IPBUFSIZ]; local 257 ares_inet_ntop(AF_INET, &niquery->addr.addr4.sin_addr, ipbuf, 261 ares_inet_ntop(AF_INET6, &niquery->addr.addr6.sin6_addr, ipbuf, [all...] |
H A D | ares_init.c | 1393 char ipbuf[16], ipbufpfx[32]; local 1398 memcpy(ipbuf, str, q-str); 1399 ipbuf[q-str] = '\0'; 1414 if ((bits = ares_inet_net_pton(AF_INET6, ipbufpfx[0] ? ipbufpfx : ipbuf, 1435 else if (ip_addr(ipbuf, q-str, &pat.addrV4) == 0) 1439 memcpy(ipbuf, str, q-str); 1440 ipbuf[q-str] = '\0'; 1441 if (ip_addr(ipbuf, q-str, &pat.mask.addr4) != 0) 1646 static int ip_addr(const char *ipbuf, ssize_t len, struct in_addr *addr) argument 1653 addr->s_addr = inet_addr(ipbuf); [all...] |
/external/iproute2/misc/ |
H A D | arpd.c | 708 char ipbuf[128]; local 714 if (sscanf(buf, "%u%s%s", &k.iface, ipbuf, macbuf) != 3) { 720 if (!inet_aton(ipbuf, (struct in_addr*)&k.addr)) { 721 fprintf(stderr, "Invalid IP address: \"%s\"\n", ipbuf);
|
Completed in 484 milliseconds