Home
last modified time | relevance | path

Searched refs:h_length (Results 1 – 25 of 38) sorted by relevance

12

/external/syslinux/core/lwip/src/api/
Dnetdb.c111 s_hostent.h_length = sizeof(ip_addr_t); in lwip_gethostbyname()
126 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_length == %d\n", s_hostent.h_length)); in lwip_gethostbyname()
217 ret->h_length = sizeof(ip_addr_t); in lwip_gethostbyname_r()
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c867 result->hostent->h_length = 4; in mdns_lookup_name()
873 result->hostent->h_length = 16; in mdns_lookup_name()
951 result->hostent->h_length = addr_len; in mdns_lookup_addr()
1274 if (len != result->hostent->h_length) in add_address_to_buffer()
1278 result->hostent->h_length, in add_address_to_buffer()
1315 if (len != result->hostent->h_length) in contains_address()
1319 result->hostent->h_length, in contains_address()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/
Drpc_clnttcp_create.c64 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clnttcp_create_stress.c68 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clnttcp_create_limits.c75 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clnttcp_create_performance.c115 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/
Drpc_clntudp_create.c68 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clntudp_create_stress.c72 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clntudp_create_performance.c117 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/
Drpc_clntudp_bufcreate.c68 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clntudp_bufcreate_limits.c79 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
/external/ltp/testcases/network/sockets/
DltpClient.c130 hostEntry->h_addr_list[0], hostEntry->h_length); in main()
137 hostEntry->h_addr_list[0], hostEntry->h_length); in main()
144 hostEntry->h_addr_list[0], hostEntry->h_length); in main()
DltpServer.c98 memcpy(&multiCastAddr, hostEntry->h_addr_list[0], hostEntry->h_length); in main()
/external/syslinux/core/lwip/src/include/lwip/
Dnetdb.h77 int h_length; /* The length, in bytes, of the address. */ member
/external/syslinux/utils/
Dgethostip.c97 if (host->h_addrtype != AF_INET || host->h_length != 4) { in main()
/external/ltp/testcases/network/multicast/mc_opts/
Dmc_verify_opts_error.c36 memcpy(&simr.s_addr, hp->h_addr, hp->h_length); in main()
Dmc_verify_opts.c44 memcpy(&simr.imr_interface.s_addr, hp->h_addr, hp->h_length); in main()
/external/ltp/testcases/network/multicast/mc_commo/
Dmc_recv.c49 memcpy(&imr.imr_interface.s_addr, hp->h_addr, hp->h_length); in main()
Dmc_send.c50 memcpy(&imr.imr_interface.s_addr, hp->h_addr, hp->h_length); in main()
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c122 memcpy((char *)&sa.sin_addr,host->h_addr_list[0],host->h_length); in u_socket_connect()
/external/xmlrpcpp/src/
DXmlRpcSocket.cpp158 memcpy(&saddr.sin_addr, hp->h_addr, hp->h_length); in connect()
/external/ltp/testcases/network/multicast/mc_member/
Dmc_member_test.c77 memcpy(&imr.imr_interface.s_addr, hp->h_addr, hp->h_length); in main()
/external/libcups/cups/
Dhttp-addr.c719 cg->hostent.h_length = (int)strlen(name) + 1; in httpGetHostByName()
756 cg->hostent.h_length = 4; in httpGetHostByName()
/external/libxml2/
Dnanohttp.c1180 if ((unsigned int) h->h_length > sizeof(ia)) { in xmlNanoHTTPConnectHost()
1184 memcpy (&ia, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost()
1192 if ((unsigned int) h->h_length > sizeof(ia6)) { in xmlNanoHTTPConnectHost()
1196 memcpy (&ia6, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c418 os_memcpy(&ctrl->dest.sin6_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
421 os_memcpy(&ctrl->dest.sin_addr.s_addr, h->h_addr, h->h_length); in wpa_ctrl_open()

12