Home
last modified time | relevance | path

Searched refs:destAddress (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_lan_management.cpp97 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in ReleaseLanNetLink() local
98 ret += NetConnClient::GetInstance().RemoveNetworkRoute(LOCAL_NET_ID, route.iface_, destAddress, in ReleaseLanNetLink()
101 NETMGR_EXT_LOG_E("del lan[%{public}s] route failed, destAddress[%{private}s], nexthop[%{private}s]", in ReleaseLanNetLink()
102 route.iface_.c_str(), destAddress.c_str(), route.gateway_.address_.c_str()); in ReleaseLanNetLink()
162 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in SetRoute() local
163 auto ret = NetConnClient::GetInstance().AddNetworkRoute(LOCAL_NET_ID, route.iface_, destAddress, in SetRoute()
181 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in DelRoute() local
182 auto ret = NetConnClient::GetInstance().RemoveNetworkRoute(LOCAL_NET_ID, route.iface_, destAddress, in DelRoute()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnetwork.cpp165 auto destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in ReleaseBasicNetwork() local
166 NetsysController::GetInstance().NetworkRemoveRoute(LOCAL_NET_ID, route.iface_, destAddress, nextHop); in ReleaseBasicNetwork()
178 auto destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in ReleaseBasicNetwork() local
179 NetsysController::GetInstance().NetworkRemoveRoute(netId_, route.iface_, destAddress, in ReleaseBasicNetwork()
361 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in UpdateRoutes() local
362 auto ret = NetsysController::GetInstance().NetworkRemoveRoute(netId_, route.iface_, destAddress, in UpdateRoutes()
369 res = NetsysController::GetInstance().NetworkRemoveRoute(LOCAL_NET_ID, route.iface_, destAddress, nextHop); in UpdateRoutes()
384 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in UpdateRoutes() local
386 NetsysController::GetInstance().NetworkAddRoute(netId_, route.iface_, destAddress, route.gateway_.address_); in UpdateRoutes()
392 res = NetsysController::GetInstance().NetworkAddRoute(LOCAL_NET_ID, route.iface_, destAddress, nextHo in UpdateRoutes()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_net_agent.cpp142 std::string destAddress = strLocalRoute + "/" + std::to_string(prefixLength); in AddRoute() local
159 LOGI("Add route, interface: %{public}s, destAddress: %{public}s, ipAddress: %{public}s, prefixLength: %{public}d", in AddRoute()
160 interface.c_str(), IpAnonymize(destAddress).c_str(), IpAnonymize(ipAddress).c_str(), prefixLength); in AddRoute()
161 netsysService->NetworkAddRoute(OHOS::nmd::LOCAL_NETWORK_NETID, interface, destAddress, ipAddress); in AddRoute()
/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnet_vpn_impl.cpp330 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in DelNetLinkInfo() local
331 NetsysController::GetInstance().NetworkRemoveRoute(netId_, route.iface_, destAddress, route.gateway_.address_); in DelNetLinkInfo()

Completed in 4 milliseconds