Lines Matching defs:up
33 constexpr const char *IFACE_LINK_UP = "up";
66 NETMGR_EXT_LOG_E("Iface[%{public}s] added set up fail!", iface.c_str());
89 int32_t EthernetManagement::DevInterfaceStateCallback::OnInterfaceLinkStateChanged(const std::string &ifName, bool up)
94 ethernetManagement_.UpdateInterfaceState(ifName, up);
98 NETMGR_EXT_LOG_I("OnInterfaceLinkStateChanged iface[%{public}s] up[%{public}d], cost=%{public}lld",
99 ifName.c_str(), up, durationNs.count());
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);
155 devState->SetLinkUp(up);
160 if (up) {