Home
last modified time | relevance | path

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

1234

/freebsd-10-stable/lib/libc/net/
Dgethostbyht.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-10-stable/usr.sbin/timed/timedc/
Dcmds.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-10-stable/contrib/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()
/freebsd-10-stable/contrib/ipfilter/lib/
Dgethost.c44 if ((h->h_addr != NULL) &&
46 bcopy(h->h_addr, (char *)&addr, sizeof(addr));
/freebsd-10-stable/usr.bin/bluetooth/bthost/
Dbthost.c96 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
102 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
/freebsd-10-stable/contrib/amd/amd/
Dsrvr_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-10-stable/contrib/amd/fixmount/
Dfixmount.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-10-stable/usr.sbin/bluetooth/btpand/
Dbtpand.c94 (bdaddr_t *)he->h_addr); in main()
112 (bdaddr_t *)he->h_addr); in main()
/freebsd-10-stable/usr.sbin/bluetooth/l2ping/
Dl2ping.c99 memcpy(&dst, he->h_addr, sizeof(dst)); in main()
128 memcpy(&src, he->h_addr, sizeof(src)); in main()
/freebsd-10-stable/usr.bin/talk/
Dget_addrs.c57 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length); in get_addrs()
/freebsd-10-stable/crypto/heimdal/lib/roken/
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-10-stable/lib/libc/rpc/
Dgetrpcport.c71 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length); in getrpcport()
/freebsd-10-stable/libexec/bootpd/
Dtrygetif.c56 memcpy(&dst_addr, hep->h_addr, sizeof(dst_addr));
Dlookup.c81 bcopy(hp->h_addr, result, sizeof(*result));
/freebsd-10-stable/contrib/ipfilter/ipsend/
Dlarp.c46 bcopy((char *)hp->h_addr, (char *)address, 4);
D44arp.c57 bcopy((char *)hp->h_addr, (char *)address, 4);
Darp.c55 bcopy((char *)hp->h_addr, (char *)address, 4);
/freebsd-10-stable/usr.sbin/bootparamd/bootparamd/
Dmain.c61 bcopy(he->h_addr, (char *)&route_addr, sizeof(route_addr)); in main()
/freebsd-10-stable/libexec/bootpd/tools/bootptest/
Dbootptest.c263 bcopy(hep->h_addr, &server_addr, sizeof(server_addr));
341 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length);
/freebsd-10-stable/tools/regression/lib/libc/resolv/
Dresolv.c152 memcpy(buf, hp->h_addr, hp->h_length); in resolv_gethostby()
177 memcpy(buf, hp->h_addr, hp->h_length); in resolv_getipnodeby()
/freebsd-10-stable/lib/libc/tests/resolv/
Dresolv_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-10-stable/contrib/amd/wire-test/
Dwire-test.c98 memmove((voidp) &ip->sin_addr, (voidp) hp->h_addr, sizeof(ip->sin_addr)); in main()
/freebsd-10-stable/libexec/bootpd/bootpgw/
Dbootpgw.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-10-stable/contrib/smbfs/lib/smb/
Dnb_net.c96 memcpy(&sinp->sin_addr.s_addr, h->h_addr, 4); in nb_resolvehost_in()
/freebsd-10-stable/usr.sbin/ypserv/
Dyp_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()

1234