Lines Matching refs:ifr_addr
1147 ((char*)ifr + sizeof(ifr->ifr_name) + ADDR_SIZE(ifr->ifr_addr)); in uv_interface_addresses()
1149 if (!(p->ifr_addr.sa_family == AF_INET6 || in uv_interface_addresses()
1150 p->ifr_addr.sa_family == AF_INET)) in uv_interface_addresses()
1180 ((char*)ifr + sizeof(ifr->ifr_name) + ADDR_SIZE(ifr->ifr_addr)); in uv_interface_addresses()
1182 if (!(p->ifr_addr.sa_family == AF_INET6 || in uv_interface_addresses()
1183 p->ifr_addr.sa_family == AF_INET)) in uv_interface_addresses()
1186 inet6 = (p->ifr_addr.sa_family == AF_INET6); in uv_interface_addresses()
1200 address->address.address6 = *((struct sockaddr_in6*) &p->ifr_addr); in uv_interface_addresses()
1202 address->address.address4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses()
1210 memcpy(&if6.ifr_Addr, &p->ifr_addr, sizeof(if6.ifr_Addr)); in uv_interface_addresses()
1219 address->netmask.netmask4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses()
1234 ((char*)ifr + sizeof(ifr->ifr_name) + ADDR_SIZE(ifr->ifr_addr)); in uv_interface_addresses()
1236 if (p->ifr_addr.sa_family != AF_LINK) in uv_interface_addresses()
1242 sa_addr = (struct sockaddr_dl*) &p->ifr_addr; in uv_interface_addresses()