Lines Matching defs:fit

146     auto fit = devs_.find(dev);
147 if (fit == devs_.end()) {
150 sptr<DevInterfaceState> devState = fit->second;
255 auto fit = devs_.find(iface);
256 if (fit == devs_.end() || fit->second == nullptr) {
260 if (!fit->second->GetLinkUp()) {
264 if (!ModeInputCheck(fit->second->GetIfcfg()->mode_, cfg->mode_)) {
272 if (fit->second->GetIfcfg()->mode_ != cfg->mode_) {
274 StartDhcpClient(iface, fit->second);
276 StopDhcpClient(iface, fit->second);
280 fit->second->UpdateNetHttpProxy(cfg->httpProxy_);
282 if (fit->second->IsLanIface()) {
283 ethLanManageMent_->GetOldLinkInfo(fit->second);
284 fit->second->SetLancfg(cfg);
285 ethLanManageMent_->UpdateLanLinkInfo(fit->second);
287 fit->second->SetIfcfg(cfg);
297 auto fit = devs_.find(dhcpResult.iface);
298 if (fit == devs_.end() || fit->second == nullptr) {
302 if (!fit->second->GetLinkUp()) {
307 IPSetMode mode = fit->second->GetIPSetMode();
325 if (fit->second->IsLanIface()) {
326 ethLanManageMent_->GetOldLinkInfo(fit->second);
327 fit->second->UpdateLanLinkInfo(config);
328 ethLanManageMent_->UpdateLanLinkInfo(fit->second);
330 fit->second->UpdateLinkInfo(config);
331 fit->second->RemoteUpdateNetLinkInfo();
339 auto fit = devs_.find(iface);
340 if (fit == devs_.end() || fit->second == nullptr) {
344 if (!fit->second->GetLinkUp()) {
345 ifaceConfig = fit->second->GetIfcfg();
348 auto temp = ethConfiguration_->MakeInterfaceConfiguration(fit->second->GetIfcfg(), fit->second->GetLinkInfo());
359 auto fit = devs_.find(iface);
360 if (fit == devs_.end() || fit->second == nullptr) {
364 activeStatus = static_cast<int32_t>(fit->second->GetLinkUp());