Lines Matching refs:hostaddr
424 if (sizeof(li->hostaddr) < sa_size) in login_set_addr()
425 bufsize = sizeof(li->hostaddr); in login_set_addr()
427 memcpy(&li->hostaddr.sa, sa, bufsize); in login_set_addr()
704 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmp()
705 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmp()
709 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmp()
710 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmp()
786 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmpx()
787 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmpx()
791 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmpx()
792 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmpx()