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.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,
H A DNetworkController.cpp438 int NetworkController::addRoute(unsigned netId, const char* interface, const char* destination, argument
440 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid);
443 int NetworkController::removeRoute(unsigned netId, const char* interface, const char* destination, argument
445 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid);
523 int NetworkController::modifyRoute(unsigned netId, const char* interface, const char* destination, argument
552 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) :
553 RouteController::removeRoute(interface, destination, nexthop, tableType);
H A DRouteController.cpp336 const char* destination, const char* nexthop) {
337 // At least the destination must be non-null.
338 if (!destination) {
339 ALOGE("null destination");
347 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress),
350 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength));
790 WARN_UNUSED_RESULT int modifyRoute(uint16_t action, const char* interface, const char* destination, argument
815 int ret = modifyIpRoute(action, table, interface, destination, nexthop);
979 int RouteController::addRoute(const char* interface, const char* destination, cons argument
335 modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination, const char* nexthop) argument
984 removeRoute(const char* interface, const char* destination, const char* nexthop, TableType tableType) argument
[all...]
H A DCommandListener.cpp1400 // network route [legacy <uid>] add <netId> <interface> <destination> [nexthop]
1401 // network route [legacy <uid>] remove <netId> <interface> <destination> [nexthop]
1432 const char* destination = argv[nextArg++]; local
1437 ret = sNetCtrl->addRoute(netId, interface, destination, nexthop, legacy, uid);
1439 ret = sNetCtrl->removeRoute(netId, interface, destination, nexthop, legacy, uid);
/system/core/adb/
H A Dadb.h251 asocket *create_local_service_socket(const char *destination);
254 void connect_to_remote(asocket *s, const char *destination);
H A Dsockets.c586 void connect_to_remote(asocket *s, const char *destination) argument
590 int len = strlen(destination) + 1;
593 fatal("destination oversized");
596 D("LS(%d): connect('%s')\n", s->id, destination);
600 strcpy((char*) p->data, destination);

Completed in 650 milliseconds