Searched refs:h_addr (Results 1 - 25 of 83) sorted by relevance

1234

/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dgethost.c31 if ((h->h_addr != NULL) && (h->h_length == sizeof(addr))) {
32 bcopy(h->h_addr, (char *)&addr, sizeof(addr));
/freebsd-9.3-release/usr.bin/talk/
H A Dget_addrs.c57 bcopy(hp->h_addr, (char *) &his_machine_addr, hp->h_length);
/freebsd-9.3-release/usr.bin/bluetooth/bthost/
H A Dbthost.c96 bt_ntoa((bdaddr_t *)(he->h_addr), bastr));
102 bt_ntoa((bdaddr_t *)(he->h_addr), bastr));
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dlarp.c46 bcopy((char *)hp->h_addr, (char *)address, 4);
H A D44arp.c60 bcopy((char *)hp->h_addr, (char *)address, 4);
H A Darp.c58 bcopy((char *)hp->h_addr, (char *)address, 4);
/freebsd-9.3-release/contrib/libpcap/
H A Dnametoaddr.c103 #ifndef h_addr
110 #ifndef h_addr
111 hlist[0] = (bpf_u_int32 *)hp->h_addr;
112 NTOHL(hp->h_addr);
/freebsd-9.3-release/lib/libc/rpc/
H A Dgetrpcport.c73 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
/freebsd-9.3-release/libexec/bootpd/
H A Dlookup.c81 bcopy(hp->h_addr, result, sizeof(*result));
H A Dtrygetif.c56 memcpy(&dst_addr, hep->h_addr, sizeof(dst_addr));
/freebsd-9.3-release/lib/libc/net/
H A Dgethostbyht.c257 _map_v4v6_address(he.h_addr, he.h_addr);
318 if (he.h_addrtype == af && !bcmp(he.h_addr, addr, len)) {
321 _map_v4v6_address(he.h_addr, he.h_addr);
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/
H A Dbtpand.c94 (bdaddr_t *)he->h_addr);
112 (bdaddr_t *)he->h_addr);
/freebsd-9.3-release/contrib/amd/wire-test/
H A Dwire-test.c102 memmove((voidp) &ip->sin_addr, (voidp) hp->h_addr, sizeof(ip->sin_addr));
/freebsd-9.3-release/usr.sbin/bootparamd/bootparamd/
H A Dmain.c64 bcopy(he->h_addr, (char *)&route_addr, sizeof(route_addr));
/freebsd-9.3-release/usr.sbin/timed/timedc/
H A Dcmds.c203 bcopy(hp->h_addr, &server.sin_addr.s_addr, hp->h_length);
233 bcopy(hp->h_addr, &dayaddr.sin_addr.s_addr,
303 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length);
404 bcopy(hp->h_addr, &sin.sin_addr.s_addr, hp->h_length);
455 bcopy(hp->h_addr, &dest.sin_addr.s_addr, hp->h_length);
/freebsd-9.3-release/contrib/amd/amd/
H A Dsrvr_nfs.c453 (voidp) hp->h_addr,
458 memmove((voidp) &ia, (voidp) hp->h_addr, sizeof(struct in_addr));
465 (voidp) hp->h_addr,
776 memmove((voidp) &ip->sin_addr, (voidp) hp->h_addr, sizeof(ip->sin_addr));
934 (voidp) hp->h_addr,
939 memmove((voidp) &ia, (voidp) hp->h_addr, sizeof(struct in_addr));
945 memmove((voidp) &fs->fs_ip->sin_addr, (voidp) hp->h_addr, sizeof(fs->fs_ip->sin_addr));
/freebsd-9.3-release/contrib/amd/fixmount/
H A Dfixmount.c119 memcpy(&addr1, he->h_addr, sizeof(addr1));
206 memcpy(&hostaddr, he->h_addr, sizeof(hostaddr));
357 memcpy(&thisaddr, he->h_addr, sizeof(thisaddr));
570 memmove((voidp) &host_addr.sin_addr, (voidp) hp->h_addr,
/freebsd-9.3-release/contrib/smbfs/lib/smb/
H A Dnb_net.c96 memcpy(&sinp->sin_addr.s_addr, h->h_addr, 4);
/freebsd-9.3-release/lib/libncp/
H A Dncpl_net.c121 memcpy(&li->inaddr.sin_addr.s_addr, h->h_addr, 4);
/freebsd-9.3-release/usr.sbin/bluetooth/bthidcontrol/
H A Dbthidcontrol.c76 memcpy(&bdaddr, he->h_addr, sizeof(bdaddr));
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_machine.h143 #define h_addr h_addr_list[0] /* address, for backward compatibility */ macro
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Droken_gethostby.c55 unsigned char *p = (unsigned char*)he->h_addr;
263 he = gethostbyaddr(he->h_addr, he->h_length, AF_INET);
/freebsd-9.3-release/tools/regression/lib/libc/resolv/
H A Dresolv.c149 memcpy(buf, hp->h_addr, hp->h_length);
174 memcpy(buf, hp->h_addr, hp->h_length);
/freebsd-9.3-release/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c99 memcpy(&dst, he->h_addr, sizeof(dst));
128 memcpy(&src, he->h_addr, sizeof(src));
/freebsd-9.3-release/contrib/amd/amq/
H A Dpawd.c203 server_addr.sin_addr = *(struct in_addr *) hp->h_addr;

Completed in 135 milliseconds

1234