Lines Matching refs:address
1117 uv_interface_address_t* address; in uv_interface_addresses() local
1190 address = *addresses; in uv_interface_addresses()
1213 address->name = uv__strdup(p->ifr_name); in uv_interface_addresses()
1216 address->address.address6 = *((struct sockaddr_in6*) &p->ifr_addr); in uv_interface_addresses()
1218 address->address.address4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses()
1229 address->netmask.netmask6 = *((struct sockaddr_in6*) &if6.ifr_Addr); in uv_interface_addresses()
1231 address->netmask.netmask6.sin6_family = AF_INET6; in uv_interface_addresses()
1235 address->netmask.netmask4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses()
1237 address->netmask.netmask4.sin_family = AF_INET; in uv_interface_addresses()
1240 address->is_internal = flg.ifr_flags & IFF_LOOPBACK ? 1 : 0; in uv_interface_addresses()
1242 address++; in uv_interface_addresses()
1255 address = *addresses; in uv_interface_addresses()
1257 if (strcmp(address->name, p->ifr_name) == 0) { in uv_interface_addresses()
1259 memcpy(address->phys_addr, LLADDR(sa_addr), sizeof(address->phys_addr)); in uv_interface_addresses()
1261 address++; in uv_interface_addresses()