Home
last modified time | relevance | path

Searched refs:hostent (Results 1 – 25 of 109) 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.c273 Curl_he2ai(const struct hostent *he, int port) in Curl_he2ai()
372 struct hostent hostentry;
404 struct hostent *h; in Curl_ip2addr()
Dasyn-ares.c460 struct hostent *hostent) in query_completed_cb() argument
478 Curl_addrinfo *ai = Curl_he2ai(hostent, conn->async.port); in query_completed_cb()
Dasyn.h29 struct hostent;
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/syslinux/core/lwip/src/include/lwip/
Dnetdb.h72 struct hostent { struct
100 struct hostent *lwip_gethostbyname(const char *name); argument
101 int lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf,
102 size_t buflen, struct hostent **result, int *h_errnop);
/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/syslinux/core/lwip/src/api/
Dnetdb.c84 struct hostent*
91 HOSTENT_STORAGE struct hostent s_hostent; in lwip_gethostbyname()
162 lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf, in lwip_gethostbyname_r()
163 size_t buflen, struct hostent **result, int *h_errnop) in lwip_gethostbyname_r()
/external/ltp/testcases/kernel/syscalls/gethostbyname_r/
Dgethostbyname_r01.c68 struct hostent resbuf; in check_vulnerable()
69 struct hostent *result; in check_vulnerable()
/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/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/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_getmaps/
Drpc_pmap_getmaps.c51 struct hostent *hp = NULL; 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/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()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc1003 CHECK_TYPE_SIZE(hostent);
1004 CHECK_SIZE_AND_OFFSET(hostent, h_name);
1005 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
1006 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype);
1007 CHECK_SIZE_AND_OFFSET(hostent, h_length);
1008 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);

12345