Home
last modified time | relevance | path

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

/external/libpcap/
Dnametoaddr.c103 #ifndef h_addr in pcap_nametoaddr()
110 #ifndef h_addr in pcap_nametoaddr()
111 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
112 NTOHL(hp->h_addr); in pcap_nametoaddr()
/external/ppp/pppd/plugins/radius/
Dip_util.c42 return ntohl((*(UINT4 *) hp->h_addr)); in rc_get_ipaddr()
/external/qemu/
Dnet.c274 saddr->sin_addr = *(struct in_addr *)he->h_addr; in parse_host_port()
748 uint32_t h_addr; in net_slirp_redir_print() local
752 h_addr = ntohl(faddr->s_addr); in net_slirp_redir_print()
756 snprintf(buf, 15, "%d.%d.%d.%d", (h_addr >> 24) & 0xff, in net_slirp_redir_print()
757 (h_addr >> 16) & 0xff, in net_slirp_redir_print()
758 (h_addr >> 8) & 0xff, in net_slirp_redir_print()
759 (h_addr) & 0xff); in net_slirp_redir_print()
Dnet-android.c872 uint32_t h_addr; in net_slirp_redir_print() local
876 h_addr = sock_address_get_ip(faddr); in net_slirp_redir_print()
880 snprintf(buf, 15, "%d.%d.%d.%d", (h_addr >> 24) & 0xff, in net_slirp_redir_print()
881 (h_addr >> 16) & 0xff, in net_slirp_redir_print()
882 (h_addr >> 8) & 0xff, in net_slirp_redir_print()
883 (h_addr) & 0xff); in net_slirp_redir_print()
/external/ppp/pppd/
Dipcp.c348 dns = *(u_int32_t *)hp->h_addr;
384 wins = *(u_int32_t *)hp->h_addr;
437 local = *(u_int32_t *)hp->h_addr;
458 remote = *(u_int32_t *)hp->h_addr;
1625 local = *(u_int32_t *)hp->h_addr; in ip_check_options()
Dmultilink.c451 addr = *(u_int32_t *)hp->h_addr;
Dauth.c2109 a = *(u_int32_t *)hp->h_addr;
/external/quake/quake/src/QW/qwfwd/
Dqwfwd.c126 memcpy((char *)&sin.sin_addr, phe->h_addr, phe->h_length); in connectsock()
/external/netperf/
Dnettest_xti.c580 bcopy(hp->h_addr, in send_xti_tcp_stream()
1791 bcopy(hp->h_addr, in send_xti_tcp_rr()
2514 bcopy(hp->h_addr, in send_xti_udp_stream()
3510 bcopy(hp->h_addr, in send_xti_udp_rr()
5072 bcopy(hp->h_addr, in send_xti_tcp_conn_rr()
/external/qemu/telephony/
Dsysdeps_posix.c626 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length); in sys_channel_create_tcp_client()
/external/quake/quake/src/WinQuake/
Dnet_bw.cpp132 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
Dmpdosock.h153 #define h_addr h_addr_list[0] /* address, for backward compat */ macro
/external/qemu/slirp/
Dmisc.c80 our_addr = *(struct in_addr *)he->h_addr; in getouraddr()
/external/bluetooth/bluez/test/
Dhciemu.c1039 memcpy(&b, hent->h_addr, 4); in getbdaddrbyname()
/external/ping/
Dping.c1805 memcpy(&whereto.sin_addr, hp->h_addr, 4); in main()
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c1609 memcpy(&nas_addr, host->h_addr, sizeof(nas_addr));
/external/blktrace/
Dblktrace.c971 memcpy(&addr->sin_addr, hent->h_addr, 4); in net_setup_addr()