/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
D | net_manager_native.cpp | 100 int netId, std::string interfaceName, std::string destination, std::string nextHop) in NetworkAddRoute() argument 102 return this->networkController->AddRoute(netId, interfaceName, destination, nextHop); in NetworkAddRoute() 106 int netId, std::string interfaceName, std::string destination, std::string nextHop) in NetworkRemoveRoute() argument 108 return this->networkController->RemoveRoute(netId, interfaceName, destination, nextHop); in NetworkRemoveRoute() 171 …return this->networkController->AddRoute(netId, parcel.ifName, parcel.destination, parcel.nextHop); in NetworkAddRouteParcel() 176 …urn this->networkController->RemoveRoute(netId, parcel.ifName, parcel.destination, parcel.nextHop); in NetworkRemoveRouteParcel()
|
D | network_controller.cpp | 158 …oller::AddRoute(int netId, std::string interfaceName, std::string destination, std::string nextHop) in AddRoute() argument 160 return RouteController::AddRoute(netId, interfaceName, destination, nextHop); in AddRoute() 164 int netId, std::string interfaceName, std::string destination, std::string nextHop) in RemoveRoute() argument 166 return RouteController::RemoveRoute(netId, interfaceName, destination, nextHop); in RemoveRoute()
|
D | route_controller.cpp | 153 …oller::AddRoute(int netId, std::string interfaceName, std::string destination, std::string nextHop) in AddRoute() argument 197 readAddrResult = ReadAddrGw(nextHop.c_str(), &gw); in AddRoute() 221 …er::RemoveRoute(int netId, std::string interfaceName, std::string destination, std::string nextHop) in RemoveRoute() argument 260 readAddrResult = ReadAddrGw(nextHop.c_str(), &gw); in RemoveRoute()
|
/foundation/communication/netmanager_base/services/common/src/ |
D | route_utils.cpp | 134 std::string nextHop; in ModifyRoute() local 143 nextHop = route.gateway_.address_; in ModifyRoute() 147 nextHop = NEXTHOP_UNREACHABLE; in ModifyRoute() 150 nextHop = NEXTHOP_THROW; in ModifyRoute() 164 … ret = NetsysController::GetInstance().NetworkAddRoute(netId, route.iface_, dest, nextHop); in ModifyRoute() 167 … ret = NetsysController::GetInstance().NetworkRemoveRoute(netId, route.iface_, dest, nextHop); in ModifyRoute()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
D | route_controller.h | 42 …c int AddRoute(int netId, std::string interfaceName, std::string destination, std::string nextHop); 43 …nt RemoveRoute(int netId, std::string interfaceName, std::string destination, std::string nextHop);
|
D | network_controller.h | 45 … int AddRoute(int netId, std::string interfaceName, std::string destination, std::string nextHop); 47 …nt RemoveRoute(int netId, std::string interfaceName, std::string destination, std::string nextHop);
|
D | net_manager_native.h | 31 std::string nextHop; member 57 … int NetworkAddRoute(int netId, std::string ifName, std::string destination, std::string nextHop); 58 …nt NetworkRemoveRoute(int netId, std::string ifName, std::string destination, std::string nextHop);
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
D | netsys_native_service.cpp | 183 const std::string &destination, const std::string &nextHop) in NetworkAddRoute() argument 187 …int32_t result = this->netsysService_->NetworkAddRoute(netId, interfaceName, destination, nextHop); in NetworkAddRoute() 193 const std::string &destination, const std::string &nextHop) in NetworkRemoveRoute() argument 195 …32_t result = this->netsysService_->NetworkRemoveRoute(netId, interfaceName, destination, nextHop); in NetworkRemoveRoute()
|
D | netsys_native_service_stub.cpp | 336 std::string nextHop = data.ReadString(); in CmdNetworkAddRoute() local 339 int32_t result = NetworkAddRoute(netId, ifName, destination, nextHop); in CmdNetworkAddRoute() 351 std::string nextHop = data.ReadString(); in CmdNetworkRemoveRoute() local 354 int32_t result = NetworkRemoveRoute(netId, interfaceName, destination, nextHop); in CmdNetworkRemoveRoute() 368 routeInfo.nextHop = data.ReadString(); in CmdNetworkAddRouteParcel() 383 routeInfo.nextHop = data.ReadString(); in CmdNetworkRemoveRouteParcel()
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
D | netsys_controller_service_impl.cpp | 68 const std::string &destination, const std::string &nextHop) in NetworkAddRoute() argument 72 return mockNetsysClient_.NetworkAddRoute(netId, ifName, destination, nextHop); in NetworkAddRoute() 74 return netsysClient_.NetworkAddRoute(netId, ifName, destination, nextHop); in NetworkAddRoute() 78 const std::string &destination, const std::string &nextHop) in NetworkRemoveRoute() argument 82 return mockNetsysClient_.NetworkRemoveRoute(netId, ifName, destination, nextHop); in NetworkRemoveRoute() 84 return netsysClient_.NetworkRemoveRoute(netId, ifName, destination, nextHop); in NetworkRemoveRoute()
|
D | netsys_controller.cpp | 94 const std::string &destination, const std::string &nextHop) in NetworkAddRoute() argument 101 return netsysService_->NetworkAddRoute(netId, ifName, destination, nextHop); in NetworkAddRoute() 105 const std::string &destination, const std::string &nextHop) in NetworkRemoveRoute() argument 112 return netsysService_->NetworkRemoveRoute(netId, ifName, destination, nextHop); in NetworkRemoveRoute()
|
D | netsys_native_client.cpp | 155 const std::string &destination, const std::string &nextHop) in NetworkAddRoute() argument 162 return netsysNativeService_->NetworkAddRoute(netId, ifName, destination, nextHop); in NetworkAddRoute() 166 const std::string &destination, const std::string &nextHop) in NetworkRemoveRoute() argument 173 return netsysNativeService_->NetworkRemoveRoute(netId, ifName, destination, nextHop); in NetworkRemoveRoute()
|
D | mock_netsys_native_client.cpp | 130 const std::string &destination, const std::string &nextHop) in NetworkAddRoute() argument 134 return AddRoute(destination, mask, nextHop, ifName); in NetworkAddRoute() 138 const std::string &destination, const std::string &nextHop) in NetworkRemoveRoute() argument
|
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/ |
D | netsys_native_service_proxy.h | 43 const std::string &nextHop) override; 45 const std::string &nextHop) override;
|
D | netsys_native_service_proxy.cpp | 289 const std::string &destination, const std::string &nextHop) in NetworkAddRoute() argument 305 if (!data.WriteString(nextHop)) { in NetworkAddRoute() 317 const std::string &destination, const std::string &nextHop) in NetworkRemoveRoute() argument 333 if (!data.WriteString(nextHop)) { in NetworkRemoveRoute() 360 if (!data.WriteString(routeInfo.nextHop)) { in NetworkAddRouteParcel() 387 if (!data.WriteString(routeInfo.nextHop)) { in NetworkRemoveRouteParcel()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
D | i_netsys_service.h | 81 const std::string &nextHop) = 0; 83 const std::string &nextHop) = 0;
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
D | netsys_native_service.h | 56 const std::string &nextHop) override; 58 const std::string &nextHop) override;
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
D | netsys_controller.h | 78 const std::string &nextHop); 90 const std::string &nextHop);
|
D | netsys_controller_service_impl.h | 76 const std::string &nextHop) override; 88 const std::string &nextHop) override;
|
D | i_netsys_controller_service.h | 88 const std::string &nextHop) = 0; 100 const std::string &nextHop) = 0;
|
D | netsys_native_client.h | 99 const std::string &nextHop); 111 const std::string &nextHop);
|
D | mock_netsys_native_client.h | 139 const std::string &nextHop); 151 const std::string &nextHop);
|