Searched refs:legacy (Results 1 - 3 of 3) sorted by relevance

/system/netd/server/
H A DNetworkController.h83 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
85 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
99 const char* nexthop, bool add, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
H A DNetworkController.cpp439 const char* nexthop, bool legacy, uid_t uid) {
440 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid);
444 const char* nexthop, bool legacy, uid_t uid) {
445 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid);
524 const char* nexthop, bool add, bool legacy, uid_t uid) {
542 } else if (legacy) {
438 addRoute(unsigned netId, const char* interface, const char* destination, const char* nexthop, bool legacy, uid_t uid) argument
443 removeRoute(unsigned netId, const char* interface, const char* destination, const char* nexthop, bool legacy, uid_t uid) argument
523 modifyRoute(unsigned netId, const char* interface, const char* destination, const char* nexthop, bool add, bool legacy, uid_t uid) argument
H A DCommandListener.cpp1382 // network route [legacy <uid>] add <netId> <interface> <destination> [nexthop]
1383 // network route [legacy <uid>] remove <netId> <interface> <destination> [nexthop]
1392 bool legacy = false; local
1394 if (!strcmp(argv[nextArg], "legacy")) {
1396 legacy = true;
1419 ret = sNetCtrl->addRoute(netId, interface, destination, nexthop, legacy, uid);
1421 ret = sNetCtrl->removeRoute(netId, interface, destination, nexthop, legacy, uid);

Completed in 95 milliseconds