Home
last modified time | relevance | path

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

123

/titanic_44/usr/src/lib/libresolv/
H A Dres_gethost.c130 #if BSD >= 43 || defined(h_addr) /* new-style hostent structure */
213 #if BSD >= 43 || defined(h_addr) /* new-style hostent structure */
216 host.h_addr = h_addr_ptrs[0];
392 #if BSD >= 43 || defined(h_addr) /* new-style hostent structure */ in _gethtent()
395 host.h_addr = hostaddr; in _gethtent()
396 *((u_long *)host.h_addr) = inet_addr(p); in _gethtent()
467 if (p->h_addrtype == type && !memcmp(p->h_addr, addr, len))
469 if (p->h_addrtype == type && !bcmp(p->h_addr, addr, len))
H A Dnetdb.h62 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
/titanic_44/usr/src/lib/librdc/common/
H A Dnetaddrs.c269 fromnetaddr[j] = host->h_addr[j]; in gethost_netaddrs()
289 fromnetaddr[j] = host->h_addr[j]; in gethost_netaddrs()
302 tonetaddr[j] = host->h_addr[j]; in gethost_netaddrs()
322 tonetaddr[j] = host->h_addr[j]; in gethost_netaddrs()
425 nb->buf[j+4] = hp->h_addr[j]; in get_the_addr()
432 nb->buf[j+8] = hp->h_addr[j]; in get_the_addr()
460 nb->buf[j+4] = hp->h_addr[j]; in get_the_addr()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c79 bcopy(hp->h_addr, (char *)&my_machine_addr, hp->h_length);
108 bcopy(hp->h_addr, (char *) &rem_machine_addr, hp->h_length);
/titanic_44/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()
/titanic_44/usr/src/stand/lib/sa/
H A Dnetdb.h63 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
/titanic_44/usr/src/lib/libbc/libc/net/
H A Dgetrpcport.c42 bcopy(hp->h_addr, (char *) &addr.sin_addr, hp->h_length); in getrpcport()
H A Drexec.c73 bcopy(hp->h_addr, (caddr_t)&sin.sin_addr, hp->h_length); in rexec()
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dnb_net.c89 memcpy(ia, h->h_addr, sizeof (*ia)); in nb_resolvehost_in()
/titanic_44/usr/src/ucblib/librpcsoc/
H A Dgetrpcport.c44 memcpy((char *) &addr.sin_addr, hp->h_addr, hp->h_length); in getrpcport()
/titanic_44/usr/src/lib/libbc/inc/include/
H A Dnetdb.h38 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
/titanic_44/usr/src/uts/common/io/blkdev/
H A Dblkdev.c112 char h_addr[30]; /* enough for w%0.16x,%X */ member
1779 ddi_set_name_addr((dev_info_t *)arg, hdl->h_addr); in bd_bus_ctl()
1842 (void) snprintf(hdl->h_addr, sizeof (hdl->h_addr), in bd_attach_handle()
1849 (void) snprintf(hdl->h_addr, sizeof (hdl->h_addr), in bd_attach_handle()
1858 (void) snprintf(hdl->h_addr, sizeof (hdl->h_addr), in bd_attach_handle()
1861 (void) snprintf(hdl->h_addr, sizeof (hdl->h_addr), in bd_attach_handle()
1870 "blkdev", hdl->h_addr); in bd_attach_handle()
1880 hdl->h_name, hdl->h_addr); in bd_attach_handle()
/titanic_44/usr/src/lib/libuuid/common/
H A Detheraddr.c72 (void) memcpy(&sin->sin_addr, hp->h_addr, in arp_get()
/titanic_44/usr/src/lib/libstmfproxy/common/
H A Dstmftransport.c134 memcpy(&sin.sin_addr.s_addr, hp->h_addr, in pt_socket_connect()
/titanic_44/usr/src/cmd/lp/model/netpr/
H A Dtcp_misc.c97 bcopy(hp->h_addr, (caddr_t)&serv_addr.sin6_addr, hp->h_length); in tcp_open()
H A Dnetpr.c101 (void) memcpy((caddr_t)&sin.sin6_addr, hp->h_addr, hp->h_length); in net_open()
/titanic_44/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()
/titanic_44/usr/src/head/
H A Dnetdb.h102 #define h_addr h_addr_list[0] /* address, for backward compatiblity */ macro
/titanic_44/usr/src/lib/libtsnet/common/
H A Dtsol_getrhent.c234 (void) memcpy(&in6, hp->h_addr, hp->h_length); in tsol_getrhtype()
/titanic_44/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()
/titanic_44/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c401 hp->h_addr,
410 hp->h_addr,
/titanic_44/usr/src/lib/libast/common/comp/
H A Dsyslog.c151 a = (unsigned long)((struct in_addr*)hp->h_addr)->s_addr;
/titanic_44/usr/src/cmd/tsol/tninfo/
H A Dtninfo.c242 (void) memcpy(&in6, hp->h_addr, hp->h_length); in print_rh()
/titanic_44/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c139 memcpy((char *)&sin_p->sin_addr, (char *)hp->h_addr, hp->h_length);
/titanic_44/usr/src/cmd/ssh/sshd/
H A Dauth-krb4.c149 memmove((void *)&faddr, (void *)hp->h_addr, in auth_krb4_password()

123