Lines Matching refs:dev
142 void EthernetManagement::UpdateInterfaceState(const std::string &dev, bool up)
144 NETMGR_EXT_LOG_D("EthernetManagement UpdateInterfaceState dev[%{public}s] up[%{public}d]", dev.c_str(), up);
146 auto fit = devs_.find(dev);
165 StartDhcpClient(dev, devState);
175 StopDhcpClient(dev, devState);
182 netLinkConfigs_[dev] = nullptr;
430 for (auto &dev : tempDevMap) {
431 std::string devName = dev.first;
460 void EthernetManagement::StartDhcpClient(const std::string &dev, sptr<DevInterfaceState> &devState)
462 NETMGR_EXT_LOG_D("EthernetManagement StartDhcpClient[%{public}s]", dev.c_str());
463 ethDhcpController_->StartClient(dev, true);
467 void EthernetManagement::StopDhcpClient(const std::string &dev, sptr<DevInterfaceState> &devState)
469 NETMGR_EXT_LOG_D("EthernetManagement StopDhcpClient[%{public}s]", dev.c_str());
470 ethDhcpController_->StopClient(dev, true);
533 std::for_each(devs_.begin(), devs_.end(), [&info](const auto &dev) { dev.second->GetDumpInfo(info); });