Home
last modified time | relevance | path

Searched refs:routeList_ (Results 1 - 25 of 33) sorted by relevance

12

/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnet_link_info.cpp36 routeList_.assign(linkInfo.routeList_.begin(), linkInfo.routeList_.end()); in NetLinkInfo()
49 routeList_.assign(linkInfo.routeList_.begin(), linkInfo.routeList_.end()); in operator =()
83 if (!parcel.WriteUint32(routeList_.size())) { in Marshalling()
86 for (auto it = routeList_.begin(); it != routeList_.end(); it++) { in Marshalling()
148 ptr->routeList_ in Unmarshalling()
[all...]
H A Dnet_adj_iface_info.cpp41 // Write routeList_ in Marshalling()
42 if (!parcel.WriteUint32(routeList_.size())) { in Marshalling()
45 for (const auto &route : routeList_) { in Marshalling()
71 // Read routeList_ in Unmarshalling()
82 info->routeList_.push_back(*route); in Unmarshalling()
94 routeList_ == rhs.routeList_; in operator ==()
/foundation/communication/netmanager_base/services/common/src/
H A Droute_utils.cpp86 for (itero = oldnl.routeList_.begin(); itero != oldnl.routeList_.end(); ++itero) { in UpdateRoutes()
87 iterf = std::find(newnl.routeList_.begin(), newnl.routeList_.end(), *itero); in UpdateRoutes()
88 if (iterf == newnl.routeList_.end()) { in UpdateRoutes()
97 for (itern = newnl.routeList_.begin(); itern != newnl.routeList_.end(); ++itern) { in UpdateRoutes()
98 if (std::find(oldnl.routeList_.begin(), oldnl.routeList_.end(), *itern) == oldnl.routeList_ in UpdateRoutes()
[all...]
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Ddev_interface_state.cpp231 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLinkInfo()
238 for (const auto &netAddr : ifCfg_->ipStatic_.routeList_) { in UpdateLinkInfo()
243 linkInfo_->routeList_.push_back(route); in UpdateLinkInfo()
266 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLanLinkInfo()
272 for (const auto &netAddr : ifCfg_->ipStatic_.routeList_) { in UpdateLanLinkInfo()
278 linkInfo_->routeList_.push_back(route); in UpdateLanLinkInfo()
295 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLanLinkInfo()
301 for (const auto &routeAddr : config->routeList_) { in UpdateLanLinkInfo()
307 linkInfo_->routeList_.push_back(routeStc); in UpdateLanLinkInfo()
325 std::list<Route>().swap(linkInfo_->routeList_); in UpdateLinkInfo()
[all...]
H A Dethernet_lan_management.cpp96 for (const auto &route : newNetLinkInfo.routeList_) { in ReleaseLanNetLink()
156 for (const auto &route : newNetLinkInfo.routeList_) { in SetRoute()
175 for (const auto &route : netLinkInfo_.routeList_) { in DelRoute()
H A Dethernet_configuration.cpp177 StaticConfiguration::ExtractNetAddrBySeparator(route, config->ipStatic_.routeList_); in ConvertJsonToConfiguration()
290 config->routeList_.push_back(route); in ConvertToConfiguration()
349 for (const auto &route : devLinkInfo->routeList_) { in MakeInterfaceConfiguration()
350 cfg->ipStatic_.routeList_.push_back(route.destination_); in MakeInterfaceConfiguration()
352 cfg->ipStatic_.gatewayList_ = GetGatewayFromRouteList(devLinkInfo->routeList_); in MakeInterfaceConfiguration()
555 StaticConfiguration::ExtractNetAddrBySeparator(routes, cfg->ipStatic_.routeList_); in ParseStaticConfig()
612 for (auto &route : cfg->ipStatic_.routeList_) { in ParserIfaceIpAndRoute()
652 std::string routes = AccumulateNetAddress(cfg->ipStatic_.routeList_); in GenCfgContent()
654 std::accumulate(cfg->ipStatic_.routeList_.begin(), cfg->ipStatic_.routeList_ in GenCfgContent()
[all...]
/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/
H A Dstatic_configuration.cpp34 MarshallingNetAddressList(routeList_, MAX_ADDR_SIZE, parcel) && in Marshalling()
68 UnmarshallingNetAddressList(parcel, ptr->routeList_, MAX_ADDR_SIZE) && in Unmarshalling()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnetwork.cpp160 for (const auto &route : netLinkInfo_.routeList_) { in ReleaseBasicNetwork()
177 for (const auto &route : netLinkInfo_.routeList_) { in ReleaseBasicNetwork()
244 for (auto iter = linkInfo.routeList_.begin(); iter != linkInfo.routeList_.end();) { in GetNetLinkInfo()
250 iter = linkInfo.routeList_.erase(iter); in GetNetLinkInfo()
315 netLinkInfo_.routeList_.remove_if([family](const Route &route) { in UpdateIpAddrs()
355 for (const auto &route : netLinkInfo_.routeList_) { in UpdateRoutes()
377 for (const auto &route : newNetLinkInfo.routeList_) { in UpdateRoutes()
399 if (newNetLinkInfo.routeList_.empty()) { in UpdateRoutes()
/foundation/communication/netmanager_ext/interfaces/innerkits/ethernetclient/include/
H A Dstatic_configuration.h29 std::vector<INetAddr> routeList_; member
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnet_link_info.h34 std::list<Route> routeList_; member
/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/
H A Droute_utils_test.cpp251 nlio.routeList_.push_back(GetRoute()); in HWTEST_F()
252 nlin.routeList_.push_back(GetRoute2()); in HWTEST_F()
261 nlio.routeList_.push_back(GetRoute()); in HWTEST_F()
/foundation/communication/netmanager_base/frameworks/cj/connection/src/
H A Dnet_connection_callback.cpp149 for (auto it = info->routeList_.begin(); it != info->routeList_.end(); ++it, ++i) { in SetConnectionProp()
190 .routeSize = info->routeList_.size(), in NetConnectionPropertiesChange()
H A Dnet_connection_ffi.cpp235 for (auto it = linkInfo.routeList_.begin(); it != linkInfo.routeList_.end(); ++it, ++i) { in SetRoute()
267 ret.routeSize = static_cast<int64_t>(linkInfo.routeList_.size()); in CJ_GetConnectionProperties()
/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnet_vpn_impl.cpp275 linkInfo->routeList_.emplace_back(ipv4DefaultRoute); in UpdateNetLinkInfo()
280 linkInfo->routeList_.emplace_back(ipv6DefaultRoute); in UpdateNetLinkInfo()
283 linkInfo->routeList_.assign(vpnConfig_->routes_.begin(), vpnConfig_->routes_.end()); in UpdateNetLinkInfo()
284 for (auto &route : linkInfo->routeList_) { in UpdateNetLinkInfo()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_net_agent.cpp362 netLinkInfo->routeList_.push_back(*route);
373 netLinkInfo->routeList_.push_back(*ipv6route);
390 netLinkInfo->routeList_.push_back(*localRoute);
403 netLinkInfo->routeList_.push_back(*ipv6route);
410 netLinkInfo->routeList_.push_back(*ipv6route);
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_info_test/
H A Dnet_link_info_test.cpp73 netLinkInfo->routeList_.push_back(*route); in GetNetLinkInfo()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dnet_link_info_test.cpp73 netLinkInfo->routeList_.push_back(*route); in GetNetLinkInfo()
H A Dnet_conn_hievent_test.cpp93 netLinkInfo->routeList_.push_back(*route); in GetNetLinkInfo()
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/context/
H A Dset_iface_config_context.cpp67 StaticConfiguration::ExtractNetAddrBySeparator(routeAddresses, config_->ipStatic_.routeList_); in ParseParams()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_exec/src/
H A Dconnection_exec.cpp794 if (!linkInfo->routeList_.empty() && linkInfo->routeList_.size() <= MAX_ARRAY_LENGTH) { in FillRouoteList()
795 napi_value routes = NapiUtils::CreateArray(env, std::min(linkInfo->routeList_.size(), MAX_ARRAY_LENGTH)); in FillRouoteList()
796 auto it = linkInfo->routeList_.begin(); in FillRouoteList()
797 for (uint32_t index = 0; index < MAX_ARRAY_LENGTH && it != linkInfo->routeList_.end(); ++index, ++it) { in FillRouoteList()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dethernet_service_proxy_test.cpp81 ic->ipStatic_.routeList_.push_back(route); in GetIfaceConfig()
H A Dethernet_lan_management_test.cpp69 ic->ipStatic_.routeList_.push_back(route); in GetNewIfaceConfig()
/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
H A Dethernet_service_proxy_test.cpp81 ic->ipStatic_.routeList_.push_back(route); in GetIfaceConfig()
H A Dethernet_lan_management_test.cpp69 ic->ipStatic_.routeList_.push_back(route); in GetNewIfaceConfig()
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/
H A Dethernet_exec.cpp97 std::string routeAddresses = AccumulateNetAddress(context->config_->ipStatic_.routeList_); in GetIfaceConfigCallback()

Completed in 18 milliseconds

12