Home
last modified time | relevance | path

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

1234

/freebsd-11-stable/lib/libc/net/
HDgethostbyht.c257 _map_v4v6_address(he.h_addr, he.h_addr); in _ht_gethostbyname()
318 if (he.h_addrtype == af && !bcmp(he.h_addr, addr, len)) { in _ht_gethostbyaddr()
321 _map_v4v6_address(he.h_addr, he.h_addr); in _ht_gethostbyaddr()
/freebsd-11-stable/usr.sbin/timed/timedc/
HDcmds.c199 bcopy(hp->h_addr, &server.sin_addr.s_addr, hp->h_length); in clockdiff()
229 bcopy(hp->h_addr, &dayaddr.sin_addr.s_addr, in clockdiff()
297 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length); in msite()
396 bcopy(hp->h_addr, &sin.sin_addr.s_addr, hp->h_length); in testing()
445 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length); in tracing()
/freebsd-11-stable/contrib/ipfilter/lib/
HDgethost.c44 if ((h->h_addr != NULL) &&
46 bcopy(h->h_addr, (char *)&addr, sizeof(addr));
/freebsd-11-stable/usr.bin/bluetooth/bthost/
HDbthost.c99 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
105 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
/freebsd-11-stable/contrib/libpcap/
HDnametoaddr.c159 #ifndef h_addr in pcap_nametoaddr()
166 #ifndef h_addr in pcap_nametoaddr()
167 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
168 NTOHL(hp->h_addr); in pcap_nametoaddr()
/freebsd-11-stable/contrib/amd/amd/
HDsrvr_nfs.c462 (voidp) hp->h_addr, in check_fs_addr_change()
467 memmove((voidp) &ia, (voidp) hp->h_addr, sizeof(struct in_addr)); in check_fs_addr_change()
474 (voidp) hp->h_addr, in check_fs_addr_change()
794 memmove((voidp) &ip->sin_addr, (voidp) hp->h_addr, sizeof(ip->sin_addr)); in find_nfs_srvr()
954 (voidp) hp->h_addr, in find_nfs_srvr()
959 memmove((voidp) &ia, (voidp) hp->h_addr, sizeof(struct in_addr)); in find_nfs_srvr()
965 memmove((voidp) &fs->fs_ip->sin_addr, (voidp) hp->h_addr, sizeof(fs->fs_ip->sin_addr)); in find_nfs_srvr()
/freebsd-11-stable/usr.sbin/ypset/
HDypset.c80 memmove(&iaddr.s_addr, hp->h_addr, sizeof(iaddr.s_addr)); in bind_tohost()
137 bcopy(hent->h_addr, &sin.sin_addr, in main()
/freebsd-11-stable/contrib/amd/fixmount/
HDfixmount.c115 memcpy(&addr1, he->h_addr, sizeof(addr1)); in is_same_host()
202 memcpy(&hostaddr, he->h_addr, sizeof(hostaddr)); in fix_rmtab()
353 memcpy(&thisaddr, he->h_addr, sizeof(thisaddr)); in main()
566 memmove((voidp) &host_addr.sin_addr, (voidp) hp->h_addr, in clnt_create_timeout()
/freebsd-11-stable/usr.sbin/bluetooth/btpand/
HDbtpand.c97 (bdaddr_t *)he->h_addr); in main()
115 (bdaddr_t *)he->h_addr); in main()
/freebsd-11-stable/usr.sbin/bluetooth/l2ping/
HDl2ping.c102 memcpy(&dst, he->h_addr, sizeof(dst)); in main()
131 memcpy(&src, he->h_addr, sizeof(src)); in main()
/freebsd-11-stable/crypto/heimdal/lib/roken/
HDroken_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-11-stable/usr.bin/talk/
HDget_addrs.c57 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length); in get_addrs()
/freebsd-11-stable/lib/libc/rpc/
HDgetrpcport.c71 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length); in getrpcport()
/freebsd-11-stable/libexec/bootpd/
HDtrygetif.c56 memcpy(&dst_addr, hep->h_addr, sizeof(dst_addr));
HDlookup.c81 bcopy(hp->h_addr, result, sizeof(*result));
/freebsd-11-stable/usr.sbin/bootparamd/bootparamd/
HDmain.c61 bcopy(he->h_addr, (char *)&route_addr, sizeof(route_addr)); in main()
/freebsd-11-stable/libexec/bootpd/tools/bootptest/
HDbootptest.c263 bcopy(hep->h_addr, &server_addr, sizeof(server_addr));
341 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length);
/freebsd-11-stable/contrib/ipfilter/ipsend/
HD44arp.c52 bcopy((char *)hp->h_addr, (char *)address, 4);
HDarp.c51 bcopy((char *)hp->h_addr, (char *)address, 4);
/freebsd-11-stable/lib/libc/tests/resolv/
HDresolv_test.c135 memcpy(buf, hp->h_addr, hp->h_length); in resolv_gethostby()
158 memcpy(buf, hp->h_addr, hp->h_length); in resolv_getipnodeby()
/freebsd-11-stable/libexec/bootpd/bootpgw/
HDbootpgw.c231 bcopy(hep->h_addr, (char *)&my_ip_addr, sizeof(my_ip_addr));
349 bcopy(hep->h_addr, (char *)&server_ipa, sizeof(server_ipa));
/freebsd-11-stable/contrib/amd/wire-test/
HDwire-test.c98 memmove((voidp) &ip->sin_addr, (voidp) hp->h_addr, sizeof(ip->sin_addr)); in main()
/freebsd-11-stable/contrib/smbfs/lib/smb/
HDnb_net.c96 memcpy(&sinp->sin_addr.s_addr, h->h_addr, 4); in nb_resolvehost_in()
/freebsd-11-stable/usr.sbin/ypserv/
HDyp_dnslookup.c78 if (inet_ntop(hp->h_addrtype, hp->h_addr, addr, sizeof(addr)) == NULL) in parse()
391 hent->h_addr = (char *)q->addr; in yp_run_dnsq()
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/
HDsdpcontrol.c75 memcpy(&bdaddr, he->h_addr, sizeof(bdaddr)); in main()

1234