• Home
  • Raw
  • Download

Lines Matching refs:interfaces

166   uv_interface_address_t* interfaces;  in GetInterfaceAddresses()  local
173 int err = uv_interface_addresses(&interfaces, &count); in GetInterfaceAddresses()
189 const char* const raw_name = interfaces[i].name; in GetInterfaceAddresses()
201 static_cast<unsigned char>(interfaces[i].phys_addr[0]), in GetInterfaceAddresses()
202 static_cast<unsigned char>(interfaces[i].phys_addr[1]), in GetInterfaceAddresses()
203 static_cast<unsigned char>(interfaces[i].phys_addr[2]), in GetInterfaceAddresses()
204 static_cast<unsigned char>(interfaces[i].phys_addr[3]), in GetInterfaceAddresses()
205 static_cast<unsigned char>(interfaces[i].phys_addr[4]), in GetInterfaceAddresses()
206 static_cast<unsigned char>(interfaces[i].phys_addr[5])); in GetInterfaceAddresses()
208 if (interfaces[i].address.address4.sin_family == AF_INET) { in GetInterfaceAddresses()
209 uv_ip4_name(&interfaces[i].address.address4, ip, sizeof(ip)); in GetInterfaceAddresses()
210 uv_ip4_name(&interfaces[i].netmask.netmask4, netmask, sizeof(netmask)); in GetInterfaceAddresses()
212 } else if (interfaces[i].address.address4.sin_family == AF_INET6) { in GetInterfaceAddresses()
213 uv_ip6_name(&interfaces[i].address.address6, ip, sizeof(ip)); in GetInterfaceAddresses()
214 uv_ip6_name(&interfaces[i].netmask.netmask6, netmask, sizeof(netmask)); in GetInterfaceAddresses()
227 interfaces[i].is_internal ? True(isolate) : False(isolate)); in GetInterfaceAddresses()
228 if (interfaces[i].address.address4.sin_family == AF_INET6) { in GetInterfaceAddresses()
229 uint32_t scopeid = interfaces[i].address.address6.sin6_scope_id; in GetInterfaceAddresses()
236 uv_free_interface_addresses(interfaces, count); in GetInterfaceAddresses()