Lines Matching refs:lifr_addr

1914 		if ((s = socket(lifrp->lifr_addr.ss_family, SOCK_DGRAM, 0)) <  in unconfigure_shared_network_interfaces()
2017 if (lifr->lifr_addr.ss_family == AF_INET) { in who_is_using()
2021 sin4 = (struct sockaddr_in *)&lifr->lifr_addr; in who_is_using()
2027 sin6 = (struct sockaddr_in6 *)&lifr->lifr_addr; in who_is_using()
2169 af = lifr.lifr_addr.ss_family; in configure_one_interface()
2171 in4 = ((struct sockaddr_in *)(&lifr.lifr_addr))->sin_addr; in configure_one_interface()
2185 laddr = lifr.lifr_addr; in configure_one_interface()
2188 (void) memset(&lifr.lifr_addr, 0, sizeof (lifr.lifr_addr)); in configure_one_interface()
2251 (void) memcpy(&lifr.lifr_addr, &netmask4, in configure_one_interface()
2267 (void) memcpy(&lifr.lifr_addr, &netmask6, in configure_one_interface()
2278 lifr.lifr_addr = laddr; in configure_one_interface()
2345 (&lifr.lifr_addr))->sin_addr; in configure_one_interface()
2348 (&lifr.lifr_addr))->sin6_addr; in configure_one_interface()
2649 if (!sockaddr_to_str(lifr.lifr_addr.ss_family, in add_net_for_linkid()
2650 (const struct sockaddr *)&lifr.lifr_addr, cp, cpleft)) { in add_net_for_linkid()
2670 if (lifr.lifr_addr.ss_family == AF_INET) { in add_net_for_linkid()
2672 SIN(&lifr.lifr_addr)); in add_net_for_linkid()
2676 sin6 = SIN6(&lifr.lifr_addr); in add_net_for_linkid()
2785 if (lifr.lifr_addr.ss_family == AF_INET6) { in add_net_for_linkid()
2786 routes[j] = SIN6(&lifr.lifr_addr)->sin6_addr; in add_net_for_linkid()
2788 IN6_INADDR_TO_V4MAPPED(&SIN(&lifr.lifr_addr)->sin_addr, in add_net_for_linkid()