Home
last modified time | relevance | path

Searched refs:h_length (Results 1 – 25 of 45) 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/libpcap/Win32/Src/
Dgetaddrinfo.c612 apbuf = (char *)malloc(hp->h_length * naddrs);
623 memcpy(&apbuf[i * hp->h_length], hp->h_addr_list[i],
624 hp->h_length);
625 aplist[i] = &apbuf[i * hp->h_length];
938 if ((ap = (char *)malloc(hp->h_length)) == NULL) {
942 memcpy(ap, hp->h_addr_list[0], hp->h_length);
/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.c65 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clnttcp_create_stress.c69 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clnttcp_create_limits.c76 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.c69 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clntudp_create_stress.c73 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.c69 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
Drpc_clntudp_bufcreate_limits.c80 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()
/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/c-ares/
Dares_parse_ns_reply.c168 hostent->h_length = sizeof( struct in_addr ); in ares_parse_ns_reply()
Dares_gethostbyname.c284 hostent.h_length = (int)sizeof(struct in_addr); in fake_hostent()
289 hostent.h_length = (int)sizeof(struct ares_in6_addr); in fake_hostent()
Dares__get_hostent.c223 hostent->h_length = (int)addrlen; in ares__get_hostent()
/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/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/xmlrpcpp/src/
DXmlRpcSocket.cpp158 memcpy(&saddr.sin_addr, hp->h_addr, hp->h_length); in connect()

12