Lines Matching refs:properties
146 IPConfig::Properties properties; in ProcessEventSignal() local
147 CHECK(ParseConfiguration(configuration, &properties)); in ProcessEventSignal()
160 IPConfig::UpdateProperties(properties, false); in ProcessEventSignal()
163 DHCPConfig::UpdateProperties(properties, true); in ProcessEventSignal()
271 const string& classless_routes, IPConfig::Properties* properties) { in ParseClasslessStaticRoutes() argument
311 if (destination.prefix() == 0 && properties->gateway.empty()) { in ParseClasslessStaticRoutes()
316 CHECK(gateway.IntoString(&properties->gateway)); in ParseClasslessStaticRoutes()
331 properties->routes.swap(routes); in ParseClasslessStaticRoutes()
339 IPConfig::Properties* properties) { in ParseConfiguration() argument
341 properties->method = kTypeDHCP; in ParseConfiguration()
342 properties->address_family = IPAddress::kFamilyIPv4; in ParseConfiguration()
345 for (const auto it : configuration.properties()) { in ParseConfiguration()
350 properties->address = GetIPv4AddressString(value.Get<uint32_t>()); in ParseConfiguration()
351 if (properties->address.empty()) { in ParseConfiguration()
355 properties->subnet_prefix = value.Get<uint8_t>(); in ParseConfiguration()
357 properties->broadcast_address = in ParseConfiguration()
359 if (properties->broadcast_address.empty()) { in ParseConfiguration()
368 properties->gateway = GetIPv4AddressString(routers[0]); in ParseConfiguration()
369 if (properties->gateway.empty()) { in ParseConfiguration()
382 properties->dns_servers.push_back(server); in ParseConfiguration()
385 properties->domain_name = value.Get<string>(); in ParseConfiguration()
387 properties->accepted_hostname = value.Get<string>(); in ParseConfiguration()
389 properties->domain_search = value.Get<vector<string>>(); in ParseConfiguration()
394 properties->mtu = mtu; in ParseConfiguration()
399 properties->vendor_encapsulated_options = value.Get<ByteArray>(); in ParseConfiguration()
401 properties->web_proxy_auto_discovery = value.Get<string>(); in ParseConfiguration()
403 properties->lease_duration_seconds = value.Get<uint32_t>(); in ParseConfiguration()
408 ParseClasslessStaticRoutes(classless_static_routes, properties); in ParseConfiguration()
409 if (default_gateway_parse_error && properties->gateway.empty()) { in ParseConfiguration()