Searched refs:newNetLinkInfo (Results 1 – 6 of 6) sorted by relevance
62 NetLinkInfo newNetLinkInfo = *(devState->GetLinkInfo()); in UpdateLanLinkInfo() local64 ret += DelIp(newNetLinkInfo); in UpdateLanLinkInfo()65 ret += SetIp(newNetLinkInfo); in UpdateLanLinkInfo()66 ret += DelRoute(newNetLinkInfo); in UpdateLanLinkInfo()67 ret += SetRoute(newNetLinkInfo); in UpdateLanLinkInfo()82 NetLinkInfo newNetLinkInfo = *(devState->GetLinkInfo()); in ReleaseLanNetLink() local84 for (const auto &inetAddr : newNetLinkInfo.netAddrList_) { in ReleaseLanNetLink()96 for (const auto &route : newNetLinkInfo.routeList_) { in ReleaseLanNetLink()135 if (newNetLinkInfo.HasNetAddr(inetAddr)) { in DelIp()156 for (const auto &route : newNetLinkInfo.routeList_) { in SetRoute()[all …]
29 int32_t SetIp(const NetLinkInfo &newNetLinkInfo);30 int32_t DelIp(const NetLinkInfo &newNetLinkInfo);31 int32_t SetRoute(const NetLinkInfo &newNetLinkInfo);32 int32_t DelRoute(const NetLinkInfo &newNetLinkInfo);
271 if (newNetLinkInfo.ifaceName_ == netLinkInfo_.ifaceName_) { in UpdateInterfaces()278 if (!newNetLinkInfo.ifaceName_.empty()) { in UpdateInterfaces()290 netLinkInfo_.ifaceName_ = newNetLinkInfo.ifaceName_; in UpdateInterfaces()294 void Network::UpdateIpAddrs(const NetLinkInfo &newNetLinkInfo) in UpdateIpAddrs() argument303 if (newNetLinkInfo.HasNetAddr(inetAddr)) { in UpdateIpAddrs()333 HandleUpdateIpAddrs(newNetLinkInfo); in UpdateIpAddrs()339 for (const auto &inetAddr : newNetLinkInfo.netAddrList_) { in HandleUpdateIpAddrs()359 void Network::UpdateRoutes(const NetLinkInfo &newNetLinkInfo) in UpdateRoutes() argument365 if (newNetLinkInfo.HasRoute(route)) { in UpdateRoutes()386 for (const auto &route : newNetLinkInfo.routeList_) { in UpdateRoutes()[all …]
49 void UpdateIpAddrs(const NetLinkInfo &newNetLinkInfo);50 void HandleUpdateIpAddrs(const NetLinkInfo &newNetLinkInfo);51 void UpdateInterfaces(const NetLinkInfo &newNetLinkInfo);52 void UpdateRoutes(const NetLinkInfo &newNetLinkInfo);
219 … const sptr<NetLinkInfo> &newNetLinkInfo) in HandleConnectionPropertiesChange() argument221 if (netHandle == nullptr || newNetLinkInfo == nullptr) { in HandleConnectionPropertiesChange()230 if (iter->second != nullptr && (iter->second)->netLinkPro_ != newNetLinkInfo) { in HandleConnectionPropertiesChange()233 currentNetwork->netLinkPro_->ifaceName_ = newNetLinkInfo->ifaceName_; in HandleConnectionPropertiesChange()
101 …dleConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &newNetLinkInfo);