Home
last modified time | relevance | path

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

1234

/freebsd/lib/libc/net/
H A Dgethostbyht.c253 _map_v4v6_address(he.h_addr, he.h_addr); in _ht_gethostbyname()
314 if (he.h_addrtype == af && !bcmp(he.h_addr, addr, len)) { in _ht_gethostbyaddr()
317 _map_v4v6_address(he.h_addr, he.h_addr); in _ht_gethostbyaddr()
/freebsd/sbin/ipf/libipf/
H A Dgethost.c41 if ((h->h_addr != NULL) && in gethost()
43 bcopy(h->h_addr, (char *)&addr, sizeof(addr)); in gethost()
/freebsd/usr.bin/bluetooth/bthost/
H A Dbthost.c98 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
104 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
/freebsd/usr.sbin/ypset/
H A Dypset.c77 memmove(&iaddr.s_addr, hp->h_addr, sizeof(iaddr.s_addr)); in bind_tohost()
134 bcopy(hent->h_addr, &sin.sin_addr, in main()
/freebsd/contrib/libpcap/
H A Dnametoaddr.c160 #ifndef h_addr in pcap_nametoaddr()
183 #ifndef h_addr in pcap_nametoaddr()
184 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
185 NTOHL(hp->h_addr); in pcap_nametoaddr()
/freebsd/usr.sbin/bluetooth/btpand/
H A Dbtpand.c92 (bdaddr_t *)he->h_addr); in main()
110 (bdaddr_t *)he->h_addr); in main()
/freebsd/usr.bin/talk/
H A Dget_addrs.c53 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length); in get_addrs()
/freebsd/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c101 memcpy(&dst, he->h_addr, sizeof(dst)); in main()
130 memcpy(&src, he->h_addr, sizeof(src)); in main()
/freebsd/lib/libc/rpc/
H A Dgetrpcport.c66 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length); in getrpcport()
/freebsd/crypto/heimdal/lib/roken/
H A Droken_gethostby.c52 unsigned char *p = (unsigned char*)he->h_addr; in make_address()
266 he = gethostbyaddr(he->h_addr, he->h_length, AF_INET);
/freebsd/libexec/bootpd/
H A Dlookup.c69 bcopy(hp->h_addr, result, sizeof(*result)); in lookup_ipa()
H A Dtrygetif.c54 memcpy(&dst_addr, hep->h_addr, sizeof(dst_addr));
/freebsd/usr.sbin/bootparamd/bootparamd/
H A Dmain.c62 bcopy(he->h_addr, (char *)&route_addr, sizeof(route_addr)); in main()
/freebsd/sbin/ipf/ipsend/
H A D44arp.c50 bcopy((char *)hp->h_addr, (char *)address, 4); in resolve()
H A Darp.c45 bcopy((char *)hp->h_addr, (char *)address, 4); in resolve()
/freebsd/libexec/bootpd/tools/bootptest/
H A Dbootptest.c256 bcopy(hep->h_addr, &server_addr, sizeof(server_addr)); in main()
334 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length); in main()
/freebsd/tools/test/stress2/testcases/udp/
H A Dudp.c81 bcopy(host->h_addr, &sock_in.sin_addr, host->h_length); in test()
/freebsd/lib/libc/tests/resolv/
H A Dresolv_test.c136 memcpy(buf, hp->h_addr, hp->h_length); in resolv_gethostby()
158 memcpy(buf, hp->h_addr, hp->h_length); in resolv_getipnodeby()
/freebsd/libexec/bootpd/bootpgw/
H A Dbootpgw.c219 bcopy(hep->h_addr, (char *)&my_ip_addr, sizeof(my_ip_addr)); in main()
340 bcopy(hep->h_addr, (char *)&server_ipa, sizeof(server_ipa)); in main()
/freebsd/contrib/smbfs/lib/smb/
H A Dnb_net.c96 memcpy(&sinp->sin_addr.s_addr, h->h_addr, 4); in nb_resolvehost_in()
/freebsd/tools/test/stress2/misc/
H A Dsendfile2.sh97 memcpy (&addr.sin_addr.s_addr, hostent->h_addr,
H A Dsetsockopt.sh110 memcpy (&inetaddr.sin_addr.s_addr, hostent->h_addr,
/freebsd/contrib/ntp/include/
H A Dntp_machine.h143 #define h_addr h_addr_list[0] /* address, for backward compatibility */ macro
/freebsd/usr.sbin/bluetooth/bthidcontrol/
H A Dbthidcontrol.c78 memcpy(&bdaddr, he->h_addr, sizeof(bdaddr)); in main()
/freebsd/usr.sbin/bluetooth/sdpcontrol/
H A Dsdpcontrol.c74 memcpy(&bdaddr, he->h_addr, sizeof(bdaddr)); in main()

1234