Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libresolv/
H A Dres_gethost.c133 #if BSD >= 43 || defined(h_addr) /* new-style hostent structure */
216 #if BSD >= 43 || defined(h_addr) /* new-style hostent structure */
219 host.h_addr = h_addr_ptrs[0];
394 #if BSD >= 43 || defined(h_addr) /* new-style hostent structure */ in _gethtent()
397 host.h_addr = hostaddr; in _gethtent()
398 *((u_long *)host.h_addr) = inet_addr(p); in _gethtent()
469 if (p->h_addrtype == type && !memcmp(p->h_addr, addr, len))
471 if (p->h_addrtype == type && !bcmp(p->h_addr, addr, len))
H A Dnetdb.h60 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c77 bcopy(hp->h_addr, (char *)&my_machine_addr, hp->h_length);
106 bcopy(hp->h_addr, (char *) &rem_machine_addr, hp->h_length);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Darp.c240 (void) memcpy(&sin->sin_addr, hp->h_addr, in set()
318 (void) memcpy(&sin->sin_addr, hp->h_addr, in get()
384 (void) memcpy(&sin->sin_addr, hp->h_addr, in delete()
H A Dhostconfig.c201 (void) memcpy(&targetaddr.s_addr, hp->h_addr,
/illumos-gate/usr/src/stand/lib/sa/
H A Dnetdb.h63 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb_net.c89 memcpy(ia, h->h_addr, sizeof (*ia)); in nb_resolvehost_in()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dgetrpcport.c44 memcpy((char *) &addr.sin_addr, hp->h_addr, hp->h_length); in getrpcport()
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c210 char h_addr[50]; /* enough for w%0.32x,%X */ member
2281 ddi_set_name_addr((dev_info_t *)arg, hdl->h_addr); in bd_bus_ctl()
2374 len = snprintf(hdl->h_addr, sizeof (hdl->h_addr), in bd_attach_handle()
2384 len = snprintf(hdl->h_addr, sizeof (hdl->h_addr), in bd_attach_handle()
2391 len = snprintf(hdl->h_addr, sizeof (hdl->h_addr), in bd_attach_handle()
2395 VERIFY(len <= sizeof (hdl->h_addr)); in bd_attach_handle()
2398 (void) snprintf(hdl->h_addr + len, sizeof (hdl->h_addr) - len, in bd_attach_handle()
2406 "blkdev", hdl->h_addr); in bd_attach_handle()
2416 hdl->h_name, hdl->h_addr); in bd_attach_handle()
2576 return (hdl->h_addr); in bd_address()
/illumos-gate/usr/src/lib/libuuid/common/
H A Detheraddr.c70 (void) memcpy(&sin->sin_addr, hp->h_addr, in arp_get()
/illumos-gate/usr/src/lib/libstmfproxy/common/
H A Dstmftransport.c138 memcpy(&sin.sin_addr.s_addr, hp->h_addr, in pt_socket_connect()
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dtcp_misc.c95 bcopy(hp->h_addr, (caddr_t)&serv_addr.sin6_addr, hp->h_length); in tcp_open()
H A Dnetpr.c99 (void) memcpy((caddr_t)&sin.sin6_addr, hp->h_addr, hp->h_length); in net_open()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsn2princ.c185 hp2 = res_getipnodebyaddr(hp->h_addr, hp->h_length, in krb5_sname_to_principal()
/illumos-gate/usr/src/head/
H A Dnetdb.h102 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c137 (void) memcpy((caddr_t)&sin.sin6_addr, hp->h_addr, hp->h_length); in sock_connect()
145 (void) memcpy((caddr_t)&sin.sin_addr, hp->h_addr, hp->h_length); in sock_connect()
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_getrhent.c232 (void) memcpy(&in6, hp->h_addr, hp->h_length); in tsol_getrhtype()
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c401 hp->h_addr,
410 hp->h_addr,
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsyslog.c151 a = (unsigned long)((struct in_addr*)hp->h_addr)->s_addr;
/illumos-gate/usr/src/cmd/tsol/tninfo/
H A Dtninfo.c242 (void) memcpy(&in6, hp->h_addr, hp->h_length); in print_rh()
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c139 memcpy((char *)&sin_p->sin_addr, (char *)hp->h_addr, hp->h_length);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmultilink.c251 addr = *(u_int32_t *)hp->h_addr;
H A Dipcp.c286 BCOPY(hp->h_addr, &addr, sizeof (u_int32_t));
1368 BCOPY(hp->h_addr, &local, sizeof (hp->h_addr)); in ip_check_options()
/illumos-gate/usr/src/cmd/bnu/
H A Dcallers.c639 bcopy(hp->h_addr, (caddr_t)&sin.sin_addr, hp->h_length);
641 memcpy((caddr_t)&sin.sin_addr, hp->h_addr, hp->h_length);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c198 (void) memcpy(ipaddr, h->h_addr, h->h_length); in smb_get_dcinfo()

12