Lines Matching refs:address
395 uv_interface_address_t* address; in uv_interface_addresses() local
428 address = *addresses; in uv_interface_addresses()
439 address->name = uv__strdup(cur->ifa_name); in uv_interface_addresses()
444 address->address.address6 = *((struct sockaddr_in6*)cur->ifa_addr); in uv_interface_addresses()
445 address->netmask.netmask6 = *((struct sockaddr_in6*)cur->ifa_netmask); in uv_interface_addresses()
446 address->netmask.netmask6.sin6_family = AF_INET6; in uv_interface_addresses()
448 address->address.address4 = *((struct sockaddr_in*)cur->ifa_addr); in uv_interface_addresses()
449 address->netmask.netmask4 = *((struct sockaddr_in*)cur->ifa_netmask); in uv_interface_addresses()
450 address->netmask.netmask4.sin_family = AF_INET; in uv_interface_addresses()
452 address->is_internal = cur->ifa_flags & IFF_LOOPBACK ? 1 : 0; in uv_interface_addresses()
453 if (!address->is_internal) { in uv_interface_addresses()
455 size_t name_len = strlen(address->name); in uv_interface_addresses()
473 rc = get_ibmi_physical_address(address->name, &address->phys_addr); in uv_interface_addresses()
480 char* temp_name = uv__strdup(address->name); in uv_interface_addresses()
485 rc = get_ibmi_physical_address(temp_name, &address->phys_addr); in uv_interface_addresses()
492 address++; in uv_interface_addresses()