Home
last modified time | relevance | path

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

/system/netd/server/
DNetworkController.h84 int addRoute(unsigned netId, const char* interface, const char* destination,
86 int removeRoute(unsigned netId, const char* interface, const char* destination,
100 int modifyRoute(unsigned netId, const char* interface, const char* destination,
DRouteController.h71 static int addRoute(const char* interface, const char* destination, const char* nexthop,
73 static int removeRoute(const char* interface, const char* destination, const char* nexthop,
DNetworkController.cpp465 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, in addRoute() argument
467 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid); in addRoute()
470 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, in removeRoute() argument
472 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid); in removeRoute()
550 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, in modifyRoute() argument
579 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) : in modifyRoute()
580 RouteController::removeRoute(interface, destination, nexthop, tableType); in modifyRoute()
DRouteController.cpp347 const char* destination, const char* nexthop) { in modifyIpRoute() argument
349 if (!destination) { in modifyIpRoute()
358 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), in modifyIpRoute()
361 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength)); in modifyIpRoute()
846 WARN_UNUSED_RESULT int modifyRoute(uint16_t action, const char* interface, const char* destination, in modifyRoute() argument
871 int ret = modifyIpRoute(action, table, interface, destination, nexthop); in modifyRoute()
1055 int RouteController::addRoute(const char* interface, const char* destination, const char* nexthop, in addRoute() argument
1057 return modifyRoute(RTM_NEWROUTE, interface, destination, nexthop, tableType); in addRoute()
1060 int RouteController::removeRoute(const char* interface, const char* destination, in removeRoute() argument
1062 return modifyRoute(RTM_DELROUTE, interface, destination, nexthop, tableType); in removeRoute()
DCommandListener.cpp1599 const char* destination = argv[nextArg++]; in runCommand() local
1604 ret = sNetCtrl->addRoute(netId, interface, destination, nexthop, legacy, uid); in runCommand()
1606 ret = sNetCtrl->removeRoute(netId, interface, destination, nexthop, legacy, uid); in runCommand()
/system/core/adb/
Dadb.h249 asocket *create_local_service_socket(const char *destination);
252 void connect_to_remote(asocket *s, const char *destination);
Dsockets.cpp568 void connect_to_remote(asocket *s, const char *destination) in connect_to_remote() argument
572 int len = strlen(destination) + 1; in connect_to_remote()
578 D("LS(%d): connect('%s')\n", s->id, destination); in connect_to_remote()
582 strcpy((char*) p->data, destination); in connect_to_remote()
Dprotocol.txt96 --- OPEN(local-id, 0, "destination") -----------------------------------
100 destination in the message payload. The local-id may not be zero.
107 Common destination naming conventions include:
/system/bt/doc/
Dstyle_guide.md48 deserializing data, it is unsafe to memcpy unless both source and destination