Lines Matching refs:hostaddr
422 if (sizeof(li->hostaddr) < sa_size) in login_set_addr()
423 bufsize = sizeof(li->hostaddr); in login_set_addr()
425 memcpy(&li->hostaddr.sa, sa, bufsize); in login_set_addr()
702 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmp()
703 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmp()
707 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmp()
708 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmp()
784 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmpx()
785 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmpx()
789 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmpx()
790 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmpx()