Lines Matching refs:uv_address
663 uv_interface_address_t* uv_address; in uv_interface_addresses() local
782 uv_address = uv_address_buf; in uv_interface_addresses()
823 memset(uv_address, 0, sizeof *uv_address); in uv_interface_addresses()
825 uv_address->name = name_buf; in uv_interface_addresses()
827 if (adapter->PhysicalAddressLength == sizeof(uv_address->phys_addr)) { in uv_interface_addresses()
828 memcpy(uv_address->phys_addr, in uv_interface_addresses()
830 sizeof(uv_address->phys_addr)); in uv_interface_addresses()
833 uv_address->is_internal = in uv_interface_addresses()
837 uv_address->address.address6 = *((struct sockaddr_in6 *) sa); in uv_interface_addresses()
839 uv_address->netmask.netmask6.sin6_family = AF_INET6; in uv_interface_addresses()
840 memset(uv_address->netmask.netmask6.sin6_addr.s6_addr, 0xff, prefix_len >> 3); in uv_interface_addresses()
843 uv_address->netmask.netmask6.sin6_addr.s6_addr[prefix_len >> 3] = in uv_interface_addresses()
848 uv_address->address.address4 = *((struct sockaddr_in *) sa); in uv_interface_addresses()
850 uv_address->netmask.netmask4.sin_family = AF_INET; in uv_interface_addresses()
851 uv_address->netmask.netmask4.sin_addr.s_addr = (prefix_len > 0) ? in uv_interface_addresses()
855 uv_address++; in uv_interface_addresses()