Lines Matching refs:address
1944 uv_interface_address_t* address; in uv_interface_addresses() local
1974 address = *addresses; in uv_interface_addresses()
1980 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses()
1983 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses()
1985 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses()
1989 address->netmask.netmask6 = *((struct sockaddr_in6*) ent->ifa_netmask); in uv_interface_addresses()
1991 address->netmask.netmask4 = *((struct sockaddr_in*) ent->ifa_netmask); in uv_interface_addresses()
1994 address->is_internal = !!(ent->ifa_flags & IFF_LOOPBACK); in uv_interface_addresses()
1996 address++; in uv_interface_addresses()
2004 address = *addresses; in uv_interface_addresses()
2009 if (strncmp(address->name, ent->ifa_name, namelen) == 0 && in uv_interface_addresses()
2010 (address->name[namelen] == 0 || address->name[namelen] == ':')) { in uv_interface_addresses()
2012 memcpy(address->phys_addr, sll->sll_addr, sizeof(address->phys_addr)); in uv_interface_addresses()
2014 address++; in uv_interface_addresses()