Home
last modified time | relevance | path

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

/system/netd/server/
DNetworkController.h82 int addRoute(unsigned netId, const char* interface, const char* destination,
84 int removeRoute(unsigned netId, const char* interface, const char* destination,
98 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.cpp438 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, in addRoute() argument
440 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid); in addRoute()
443 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, in removeRoute() argument
445 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid); in removeRoute()
523 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, in modifyRoute() argument
552 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) : in modifyRoute()
553 RouteController::removeRoute(interface, destination, nexthop, tableType); in modifyRoute()
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()
790 WARN_UNUSED_RESULT int modifyRoute(uint16_t action, const char* interface, const char* destination, in modifyRoute() argument
815 int ret = modifyIpRoute(action, table, interface, destination, nexthop); in modifyRoute()
982 int RouteController::addRoute(const char* interface, const char* destination, const char* nexthop, in addRoute() argument
984 return modifyRoute(RTM_NEWROUTE, interface, destination, nexthop, tableType); in addRoute()
987 int RouteController::removeRoute(const char* interface, const char* destination, in removeRoute() argument
989 return modifyRoute(RTM_DELROUTE, interface, destination, nexthop, tableType); in removeRoute()
DCommandListener.cpp1414 const char* destination = argv[nextArg++]; in runCommand() local
1419 ret = sNetCtrl->addRoute(netId, interface, destination, nexthop, legacy, uid); in runCommand()
1421 ret = sNetCtrl->removeRoute(netId, interface, destination, nexthop, legacy, uid); in runCommand()
/system/core/adb/
Dadb.h251 asocket *create_local_service_socket(const char *destination);
254 void connect_to_remote(asocket *s, const char *destination);
Dsockets.c586 void connect_to_remote(asocket *s, const char *destination) in connect_to_remote() argument
590 int len = strlen(destination) + 1; in connect_to_remote()
596 D("LS(%d): connect('%s')\n", s->id, destination); in connect_to_remote()
600 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: