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