Home
last modified time | relevance | path

Searched refs:hostent (Results 1 – 25 of 106) sorted by relevance

12345

/external/curl/lib/
Dhostip4.c130 struct hostent *h = NULL;
132 struct hostent *buf = NULL;
175 (struct hostent *)buf,
176 (char *)buf + sizeof(struct hostent),
177 CURL_HOSTENT_SIZE - sizeof(struct hostent),
194 (struct hostent *)buf,
195 (char *)buf + sizeof(struct hostent),
196 CURL_HOSTENT_SIZE - sizeof(struct hostent),
253 (sizeof(struct hostent) + sizeof(struct hostent_data))) {
261 (struct hostent *)buf,
[all …]
Dcurl_addrinfo.c277 Curl_he2ai(const struct hostent *he, int port) in Curl_he2ai()
376 struct hostent hostentry;
408 struct hostent *h; in Curl_ip2addr()
Dasyn-ares.c493 struct hostent *hostent) in query_completed_cb() argument
512 Curl_addrinfo *ai = Curl_he2ai(hostent, conn->async.port); in query_completed_cb()
Dcurl_addrinfo.h75 Curl_he2ai(const struct hostent *he, int port);
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c379 #define ENTNAME hostent
390 typedef struct hostent hostent; typedef
411 hostent * result_buf,
441 hostent * result_buf,
474 hostent * result_buf,
505 hostent * hostent; member
531 hostent * result_buf,
593 hostent * result_buf,
661 hostent * result_buf, in _nss_mdns_gethostbyname_r()
685 hostent * result_buf, in _nss_mdns_gethostbyname2_r()
[all …]
/external/libcups/cups/
Dhttp-addr.c401 struct hostent *host; /* Host from name service */ in httpAddrLookup()
677 struct hostent * /* O - Host entry */
716 cg->hostent.h_name = (char *)name; in httpGetHostByName()
717 cg->hostent.h_aliases = NULL; in httpGetHostByName()
718 cg->hostent.h_addrtype = AF_LOCAL; in httpGetHostByName()
719 cg->hostent.h_length = (int)strlen(name) + 1; in httpGetHostByName()
720 cg->hostent.h_addr_list = cg->ip_ptrs; in httpGetHostByName()
726 return (&cg->hostent); in httpGetHostByName()
753 cg->hostent.h_name = (char *)name; in httpGetHostByName()
754 cg->hostent.h_aliases = NULL; in httpGetHostByName()
[all …]
Dcups-private.h101 struct hostent hostent; /* Host entry for IP address */ member
/external/ppp/pppd/plugins/radius/
Dip_util.c31 struct hostent *hp; in rc_get_ipaddr()
37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) in rc_get_ipaddr()
105 struct hostent *hp; in rc_ip_hostname()
/external/ltp/testcases/kernel/syscalls/gethostbyname_r/
Dgethostbyname_r01.c68 struct hostent resbuf; in check_vulnerable()
69 struct hostent *result; in check_vulnerable()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc176 struct hostent* hostent) { in on_hostbyname_done_locked() argument
190 for (i = 0; hostent->h_addr_list[i] != nullptr; i++) { in on_hostbyname_done_locked()
197 switch (hostent->h_addrtype) { in on_hostbyname_done_locked()
202 memcpy(&addr.sin6_addr, hostent->h_addr_list[i - prev_naddr], in on_hostbyname_done_locked()
204 addr.sin6_family = static_cast<unsigned char>(hostent->h_addrtype); in on_hostbyname_done_locked()
223 memcpy(&addr.sin_addr, hostent->h_addr_list[i - prev_naddr], in on_hostbyname_done_locked()
225 addr.sin_family = static_cast<unsigned char>(hostent->h_addrtype); in on_hostbyname_done_locked()
/external/chromium-libpac/src/
Dproxy_resolver_js_bindings.cc66 struct hostent* he = gethostbyname(host.c_str()); in DnsResolveImpl()
83 struct hostent* he = gethostbyname(host.c_str()); in DnsResolveExImpl()
/external/honggfuzz/examples/glibc/
Dresolver.c154 struct hostent he; in main()
155 struct hostent *result; in main()
/external/ltp/testcases/network/sockets/
DltpClient.c94 struct hostent *hostEntry; in main()
309 struct hostent *hostEntry; in ltp_run_traceroute_tests()
336 struct hostent *hostEntry; in ltp_run_ping_tests()
570 struct hostent *hostEntry2; in ltp_traceroute()
/external/libevent/
Devutil.c1139 addrinfo_from_hostent(const struct hostent *ent, in addrinfo_from_hostent()
1447 struct hostent *ent = NULL; in evutil_getaddrinfo()
1471 struct hostent hostent; in evutil_getaddrinfo()
1473 r = gethostbyname_r(nodename, &hostent, buf, sizeof(buf), &ent, in evutil_getaddrinfo()
1477 struct hostent hostent; in evutil_getaddrinfo()
1478 ent = gethostbyname_r(nodename, &hostent, buf, sizeof(buf), in evutil_getaddrinfo()
1482 struct hostent hostent; in evutil_getaddrinfo()
1484 err = gethostbyname_r(nodename, &hostent, &data); in evutil_getaddrinfo()
1485 ent = err ? NULL : &hostent; in evutil_getaddrinfo()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c51 struct hostent *hp; in getnameinfo()
158 struct hostent *hp; in getaddrinfo()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/
Drpc_pmap_getmaps.c51 struct hostent *hp = NULL; in main()
/external/curl/CMake/
DCurlTests.c99 struct hostent h; in main()
118 struct hostent *hp; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/
Drpc_pmap_getport.c52 struct hostent *hp = NULL; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/
Drpc_clnttcp_create.c55 struct hostent *hp = NULL; in main()
Drpc_clnttcp_create_stress.c56 struct hostent *hp = NULL; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/
Drpc_clntudp_create.c55 struct hostent *hp = NULL; in main()
Drpc_clntudp_create_stress.c56 struct hostent *hp = NULL; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/
Drpc_clntudp_bufcreate.c55 struct hostent *hp = NULL; in main()
/external/toybox/toys/lsb/
Dhostname.c34 struct hostent *h;
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/
Drpc_pmap_rmtcall.c53 struct hostent *hp = NULL; in main()

12345