Lines Matching refs:address
71 uv_interface_address_t* address; in uv_interface_addresses() local
102 address = *addresses; in uv_interface_addresses()
108 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses()
111 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses()
113 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses()
117 memset(&address->netmask, 0, sizeof(address->netmask)); in uv_interface_addresses()
119 address->netmask.netmask6 = *((struct sockaddr_in6*) ent->ifa_netmask); in uv_interface_addresses()
121 address->netmask.netmask4 = *((struct sockaddr_in*) ent->ifa_netmask); in uv_interface_addresses()
124 address->is_internal = !!(ent->ifa_flags & IFF_LOOPBACK); in uv_interface_addresses()
126 address++; in uv_interface_addresses()
135 address = *addresses; in uv_interface_addresses()
138 if (strcmp(address->name, ent->ifa_name) == 0) { in uv_interface_addresses()
141 memcpy(address->phys_addr, LLADDR(sa_addr), sizeof(address->phys_addr)); in uv_interface_addresses()
143 address++; in uv_interface_addresses()