Lines Matching refs:ipconfig
885 bool Device::IPConfigCompleted(const IPConfigRefPtr& ipconfig) { in IPConfigCompleted() argument
886 return ipconfig && !ipconfig->properties().address.empty() && in IPConfigCompleted()
887 !ipconfig->properties().dns_servers.empty(); in IPConfigCompleted()
901 void Device::SetupConnection(const IPConfigRefPtr& ipconfig) { in SetupConnection() argument
903 connection_->UpdateFromIPConfig(ipconfig); in SetupConnection()
933 SetHostname(ipconfig->properties().accepted_hostname); in SetupConnection()
955 void Device::PrependDNSServersIntoIPConfig(const IPConfigRefPtr& ipconfig) { in PrependDNSServersIntoIPConfig() argument
956 const auto& properties = ipconfig->properties(); in PrependDNSServersIntoIPConfig()
967 ipconfig->UpdateDNSServers(servers); in PrependDNSServersIntoIPConfig()
993 void Device::OnIPConfigUpdated(const IPConfigRefPtr& ipconfig, in OnIPConfigUpdated() argument
997 ipconfig->ApplyStaticIPParameters( in OnIPConfigUpdated()
1007 ipconfig->ReleaseIP(IPConfig::kReleaseReasonStaticIP); in OnIPConfigUpdated()
1011 PrependDNSServersIntoIPConfig(ipconfig); in OnIPConfigUpdated()
1013 SetupConnection(ipconfig); in OnIPConfigUpdated()
1017 void Device::OnIPConfigFailed(const IPConfigRefPtr& ipconfig) { in OnIPConfigFailed() argument
1050 ipconfig->ResetProperties(); in OnIPConfigFailed()
1068 void Device::OnIPConfigRefreshed(const IPConfigRefPtr& ipconfig) { in OnIPConfigRefreshed() argument
1070 ipconfig->RestoreSavedIPParameters( in OnIPConfigRefreshed()
1086 void Device::OnIPConfigExpired(const IPConfigRefPtr& ipconfig) { in OnIPConfigExpired() argument
1090 ipconfig->properties().lease_duration_seconds, in OnIPConfigExpired()
1096 void Device::OnDHCPv6ConfigUpdated(const IPConfigRefPtr& ipconfig, in OnDHCPv6ConfigUpdated() argument
1102 void Device::OnDHCPv6ConfigFailed(const IPConfigRefPtr& ipconfig) { in OnDHCPv6ConfigFailed() argument
1104 ipconfig->ResetProperties(); in OnDHCPv6ConfigFailed()
1108 void Device::OnDHCPv6ConfigExpired(const IPConfigRefPtr& ipconfig) { in OnDHCPv6ConfigExpired() argument
1110 ipconfig->ResetProperties(); in OnDHCPv6ConfigExpired()
1544 if (!ipconfig() && !ip6config()) { in TimeToNextDHCPLeaseRenewal()
1549 if (ipconfig()) { in TimeToNextDHCPLeaseRenewal()
1550 ipconfig()->TimeToLeaseExpiry(&time_to_ipv4_lease_expiry); in TimeToNextDHCPLeaseRenewal()