Home
last modified time | relevance | path

Searched refs:h_addr (Results 1 – 25 of 51) sorted by relevance

123

/external/syslinux/utils/
Dgethostip.c111 ((unsigned char *)host->h_addr)[0], in main()
112 ((unsigned char *)host->h_addr)[1], in main()
113 ((unsigned char *)host->h_addr)[2], in main()
114 ((unsigned char *)host->h_addr)[3]); in main()
120 ((unsigned char *)host->h_addr)[0], in main()
121 ((unsigned char *)host->h_addr)[1], in main()
122 ((unsigned char *)host->h_addr)[2], in main()
123 ((unsigned char *)host->h_addr)[3]); in main()
/external/strace/tests-m32/
Dnet-sockaddr.c130 static const char h_addr[] = "12.34.56.78"; in check_in() local
135 in->sin_addr.s_addr = inet_addr(h_addr); in check_in()
140 h_port, h_addr, len, ret); in check_in()
145 in->sin_addr.s_addr = inet_addr(h_addr); in check_in()
150 h_port, h_addr, len, ret); in check_in()
169 check_in6_linklocal(struct sockaddr_in6 *const in6, const char *const h_addr) in check_in6_linklocal() argument
171 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6_linklocal()
181 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
192 ntohs(in6->sin6_port), h_addr, ntohl(in6->sin6_flowinfo), in check_in6_linklocal()
202 static const char h_addr[] = "12:34:56:78:90:ab:cd:ef"; in check_in6() local
[all …]
/external/strace/tests/
Dnet-sockaddr.c130 static const char h_addr[] = "12.34.56.78"; in check_in() local
135 in->sin_addr.s_addr = inet_addr(h_addr); in check_in()
140 h_port, h_addr, len, ret); in check_in()
145 in->sin_addr.s_addr = inet_addr(h_addr); in check_in()
150 h_port, h_addr, len, ret); in check_in()
169 check_in6_linklocal(struct sockaddr_in6 *const in6, const char *const h_addr) in check_in6_linklocal() argument
171 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6_linklocal()
181 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
192 ntohs(in6->sin6_port), h_addr, ntohl(in6->sin6_flowinfo), in check_in6_linklocal()
202 static const char h_addr[] = "12:34:56:78:90:ab:cd:ef"; in check_in6() local
[all …]
/external/strace/tests-mx32/
Dnet-sockaddr.c130 static const char h_addr[] = "12.34.56.78"; in check_in() local
135 in->sin_addr.s_addr = inet_addr(h_addr); in check_in()
140 h_port, h_addr, len, ret); in check_in()
145 in->sin_addr.s_addr = inet_addr(h_addr); in check_in()
150 h_port, h_addr, len, ret); in check_in()
169 check_in6_linklocal(struct sockaddr_in6 *const in6, const char *const h_addr) in check_in6_linklocal() argument
171 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6_linklocal()
181 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
192 ntohs(in6->sin6_port), h_addr, ntohl(in6->sin6_flowinfo), in check_in6_linklocal()
202 static const char h_addr[] = "12:34:56:78:90:ab:cd:ef"; in check_in6() local
[all …]
/external/chromium-libpac/src/
Dproxy_resolver_js_bindings.cc68 if (he == NULL || he->h_addr == NULL || he->h_addrtype != AF_INET) { in DnsResolveImpl()
73 if (inet_ntop(he->h_addrtype, he->h_addr, tmp, sizeof(tmp)) == NULL) { in DnsResolveImpl()
89 for (char** addr = &he->h_addr; *addr != NULL; ++addr) { in DnsResolveExImpl()
97 *ip_address_list = std::string(he->h_addr); in DnsResolveExImpl()
/external/libpcap/
Dnametoaddr.c123 #ifndef h_addr in pcap_nametoaddr()
130 #ifndef h_addr in pcap_nametoaddr()
131 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
132 NTOHL(hp->h_addr); in pcap_nametoaddr()
/external/ltp/testcases/network/rpc/basic_tests/rpc01/
Drpc1.c96 memcpy(&server_sin.sin_addr, hp->h_addr, sizeof(hp->h_addr)); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/
Drpc_pmap_getmaps.c60 sin.sin_addr.s_addr = *(u_int *) hp->h_addr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/
Drpc_pmap_getport.c61 sin.sin_addr.s_addr = *(u_int *) hp->h_addr; in main()
/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/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/
Drpc_pmap_rmtcall.c68 sin.sin_addr.s_addr = *(u_int *) hp->h_addr; in main()
Drpc_pmap_rmtcall_stress.c72 sin.sin_addr.s_addr = *(u_int *) hp->h_addr; in main()
Drpc_pmap_rmtcall_performance.c121 sin.sin_addr.s_addr = *(u_int *) hp->h_addr; in main()
/external/ppp/pppd/plugins/radius/
Dip_util.c42 return ntohl((*(UINT4 *) hp->h_addr)); in rc_get_ipaddr()
/external/syslinux/core/lwip/src/include/lwip/
Dnetdb.h80 #define h_addr h_addr_list[0] /* for backward compatibility */ macro
/external/ltp/testcases/network/multicast/mc_opts/
Dmc_verify_opts_error.c36 memcpy(&simr.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()

123