Home
last modified time | relevance | path

Searched refs:ares_inet_pton (Results 1 – 9 of 9) sorted by relevance

/external/c-ares/
Dinet_net_pton.h20 #define ares_inet_pton(x,y,z) inet_pton(x,y,z) macro
22 int ares_inet_pton(int af, const char *src, void *dst);
Dahost.c126 if (ares_inet_pton(AF_INET, *argv, &addr4) == 1) in main()
131 else if (ares_inet_pton(AF_INET6, *argv, &addr6) == 1) in main()
Dares_options.c191 rv = ares_inet_pton(AF_INET, start_host, &in4); in ares_set_servers_csv()
194 rv = ares_inet_pton(AF_INET6, start_host, &in6); in ares_set_servers_csv()
Dares__get_hostent.c153 if (ares_inet_pton(AF_INET6, txtaddr, &addr.addrV6) > 0) in ares__get_hostent()
Dadig.c257 if (ares_inet_pton(AF_INET, optarg, &srvr->addr.addr4) > 0) in main()
259 else if (ares_inet_pton(AF_INET6, optarg, &srvr->addr.addr6) > 0) in main()
Dacountry.c164 if (ares_inet_pton(AF_INET, *argv, &addr) != 1) in main()
Dinet_net_pton.c432 int ares_inet_pton(int af, const char *src, void *dst) in ares_inet_pton() function
Dares_gethostbyname.c277 result = (ares_inet_pton(AF_INET6, name, &in6) < 1 ? 0 : 1); in fake_hostent()
Dares_init.c1352 if (ares_inet_pton(AF_INET, txtaddr, &host.addrV4) == 1) in config_nameserver()
1354 else if (ares_inet_pton(AF_INET6, txtaddr, &host.addrV6) == 1) in config_nameserver()