Searched refs:destination (Results 1 - 7 of 7) sorted by relevance

/system/netd/server/
H A 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,
H A 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,
H A DNetworkController.cpp465 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, argument
467 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid);
470 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, argument
472 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid);
550 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, argument
579 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) :
580 RouteController::removeRoute(interface, destination, nexthop, tableType);
H A DRouteController.cpp347 const char* destination, const char* nexthop) {
348 // At least the destination must be non-null.
349 if (!destination) {
350 ALOGE("null destination");
358 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress),
361 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength));
846 WARN_UNUSED_RESULT int modifyRoute(uint16_t action, const char* interface, const char* destination, argument
871 int ret = modifyIpRoute(action, table, interface, destination, nexthop);
1055 int RouteController::addRoute(const char* interface, const char* destination, cons argument
346 modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination, const char* nexthop) argument
1060 removeRoute(const char* interface, const char* destination, const char* nexthop, TableType tableType) argument
[all...]
H A DCommandListener.cpp1567 // network route [legacy <uid>] add <netId> <interface> <destination> [nexthop]
1568 // network route [legacy <uid>] remove <netId> <interface> <destination> [nexthop]
1599 const char* destination = argv[nextArg++]; local
1604 ret = sNetCtrl->addRoute(netId, interface, destination, nexthop, legacy, uid);
1606 ret = sNetCtrl->removeRoute(netId, interface, destination, nexthop, legacy, uid);
/system/core/adb/
H A Dadb.h249 asocket *create_local_service_socket(const char *destination);
252 void connect_to_remote(asocket *s, const char *destination);
H A Dsockets.cpp568 void connect_to_remote(asocket *s, const char *destination) argument
572 int len = strlen(destination) + 1;
575 fatal("destination oversized");
578 D("LS(%d): connect('%s')\n", s->id, destination);
582 strcpy((char*) p->data, destination);

Completed in 64 milliseconds