Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 25 of 33) sorted by relevance

12

/system/hardware/interfaces/net/netd/1.1/
DINetd.hal36 * @param destination The destination prefix of the route in CIDR notation.
41 * destination.
46 string destination, string nexthop)
59 * @param destination The destination prefix of the route in CIDR notation.
64 * destination.
69 string destination, string nexthop)
/system/netd/server/
DRouteController.h95 static int addRoute(const char* interface, const char* destination, const char* nexthop,
97 static int removeRoute(const char* interface, const char* destination, const char* nexthop,
129 static int modifyRoute(uint16_t action, const char* interface, const char* destination,
144 int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination,
DNetdHwService.cpp105 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in addRouteToOemNetwork() argument
110 return toHalStatus(gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(), in addRouteToOemNetwork()
115 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination, in removeRouteFromOemNetwork() argument
120 return toHalStatus(gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(), in removeRouteFromOemNetwork()
DNetdHwService.h39 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination,
42 uint64_t networkHandle, const hidl_string& ifname, const hidl_string& destination,
DNetworkController.h130 int addRoute(unsigned netId, const char* interface, const char* destination,
132 int removeRoute(unsigned netId, const char* interface, const char* destination,
161 int modifyRoute(unsigned netId, const char* interface, const char* destination,
DRouteController.cpp336 const char* destination, const char* nexthop) { in modifyIpRoute() argument
338 if (!destination) { in modifyIpRoute()
347 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), in modifyIpRoute()
350 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength)); in modifyIpRoute()
431 actionName(action), destination, nexthop, interface, table, strerror(-ret)); in modifyIpRoute()
858 const char* destination, const char* nexthop, in modifyRoute() argument
883 int ret = modifyIpRoute(action, table, interface, destination, nexthop); in modifyRoute()
1064 int RouteController::addRoute(const char* interface, const char* destination, const char* nexthop, in addRoute() argument
1066 return modifyRoute(RTM_NEWROUTE, interface, destination, nexthop, tableType); in addRoute()
1069 int RouteController::removeRoute(const char* interface, const char* destination, in removeRoute() argument
[all …]
DNetworkController.cpp595 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, in addRoute() argument
597 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid); in addRoute()
600 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, in removeRoute() argument
602 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid); in removeRoute()
778 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, in modifyRoute() argument
809 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) : in modifyRoute()
810 RouteController::removeRoute(interface, destination, nexthop, tableType); in modifyRoute()
DNetdNativeService.h80 const std::string& destination,
83 const std::string& destination,
86 const std::string& destination, const std::string& nextHop,
89 const std::string& destination,
DNetdNativeService.cpp967 const std::string& destination, in networkAddRoute() argument
973 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddRoute()
979 const std::string& destination, in networkRemoveRoute() argument
984 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveRoute()
990 const std::string& destination, in networkAddLegacyRoute() argument
994 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddLegacyRoute()
1001 const std::string& destination, in networkRemoveLegacyRoute() argument
1006 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveLegacyRoute()
DNdcDispatcher.cpp1000 const char* destination = argv[nextArg++]; in runCommand() local
1005 status = add ? mNetd->networkAddLegacyRoute(netId, interface, destination, nexthop, uid) in runCommand()
1007 : mNetd->networkRemoveLegacyRoute(netId, interface, destination, nexthop, in runCommand()
1010 status = add ? mNetd->networkAddRoute(netId, interface, destination, nexthop) in runCommand()
1011 : mNetd->networkRemoveRoute(netId, interface, destination, nexthop); in runCommand()
/system/core/adb/client/
Dbugreport.cpp96 std::string destination; in Done() local
98 destination = dest_file_; in Done()
100 destination = android::base::StringPrintf("%s%c%s", dest_dir_.c_str(), in Done()
106 br_->DoSyncPull(srcs, destination.c_str(), false, line_message_.c_str()) ? 0 : 1; in Done()
112 destination.c_str(), src_file_.c_str()); in Done()
/system/extras/ioshark/
Dioshark_bench.h120 struct timeval *destination) in update_delta_time() argument
126 timeradd(destination, &res, &finish); in update_delta_time()
127 *destination = finish; in update_delta_time()
/system/core/adb/
Dsocket.h107 asocket* create_local_service_socket(std::string_view destination, atransport* transport);
110 void connect_to_remote(asocket* s, std::string_view destination);
Dsockets.cpp502 void connect_to_remote(asocket* s, std::string_view destination) { in connect_to_remote() argument
506 LOG(VERBOSE) << "LS(" << s->id << ": connect(" << destination << ")"; in connect_to_remote()
512 p->payload.resize(destination.size() + 1); in connect_to_remote()
513 memcpy(p->payload.data(), destination.data(), destination.size()); in connect_to_remote()
514 p->payload[destination.size()] = '\0'; in connect_to_remote()
Dprotocol.txt103 --- OPEN(local-id, 0, "destination") -----------------------------------
109 destination in the message payload. The local-id may not be zero.
116 Common destination naming conventions include:
/system/netd/server/aidl/netd/1/android/net/
DINetd.aidl64 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() argument
65 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() argument
66 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkAddLegacyRoute() argument
67 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkRemoveLegacyRoute() argument
/system/netd/server/binder/android/net/
DINetd.aidl792 in @utf8InCpp String destination, in networkAddRoute() argument
810 in @utf8InCpp String destination, in networkRemoveRoute() argument
829 in @utf8InCpp String destination, in networkAddLegacyRoute() argument
849 in @utf8InCpp String destination, in networkRemoveLegacyRoute() argument
/system/netd/server/aidl/netd/2/android/net/
DINetd.aidl81 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() argument
82 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() argument
83 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkAddLegacyRoute() argument
84 …gacyRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in @utf8InCpp … in networkRemoveLegacyRoute() argument
/system/hardware/interfaces/net/netd/1.1/vts/functional/
DVtsHalNetNetdV1_1TargetTest.cpp152 const char* destination, const char* nexthop) { in expectAddRoute() argument
154 netd->addRouteToOemNetwork(handle, iface, destination, nexthop); in expectAddRoute()
163 const char* destination, const char* nexthop) { in expectRemoveRoute() argument
165 netd->removeRouteFromOemNetwork(handle, iface, destination, nexthop); in expectRemoveRoute()
/system/core/adb/fastdeploy/deploylib/src/com/android/fastdeploy/
DPatchUtils.java145 static void readFully(final InputStream in, final byte[] destination, final int startAt, in readFully() argument
149 int readNow = in.read(destination, startAt + numRead, numBytes - numRead); in readFully()
/system/update_engine/
Dupdate_metadata.proto79 // - ZERO: Write zeros to the destination dst_extents.
80 // - DISCARD: Discard the destination dst_extents blocks on the physical medium.
161 REPLACE = 0; // Replace destination extents w/ attached data
162 REPLACE_BZ = 1; // Replace destination extents w/ attached bzipped data
163 MOVE = 2 [deprecated = true]; // Move source extents to destination extents
172 REPLACE_XZ = 8; // Replace destination extents w/ attached xz data.
175 ZERO = 6; // Write zeros in the destination.
176 DISCARD = 7; // Discard the destination blocks, reading as undefined.
/system/update_engine/update_engine/
Dupdate_metadata.proto79 // - ZERO: Write zeros to the destination dst_extents.
80 // - DISCARD: Discard the destination dst_extents blocks on the physical medium.
161 REPLACE = 0; // Replace destination extents w/ attached data
162 REPLACE_BZ = 1; // Replace destination extents w/ attached bzipped data
163 MOVE = 2 [deprecated = true]; // Move source extents to destination extents
172 REPLACE_XZ = 8; // Replace destination extents w/ attached xz data.
175 ZERO = 6; // Write zeros in the destination.
176 DISCARD = 7; // Discard the destination blocks, reading as undefined.
/system/extras/perfprofd/
Dperfprofd_config.proto63 // destination directory. Once we reach this limit, we continue
/system/iorap/src/perfetto/
Drx_producer.cc203 rxcpp::subscriber<PerfettoStateChange> destination, in StateChangedSubject() argument
206 dest(std::move(destination)), in StateChangedSubject()
/system/extras/partition_tools/
DREADME.md23 …n named NAME. The file can be a normal file or a sparse image, but the destination size must be le…

12