Searched defs:nexthop (Results 1 - 3 of 3) sorted by relevance

/system/netd/server/
H A DNetworkController.cpp501 const char* nexthop, bool legacy, uid_t uid) {
502 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid);
506 const char* nexthop, bool legacy, uid_t uid) {
507 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid);
610 const char* nexthop, bool add, bool legacy, uid_t uid) {
638 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) :
639 RouteController::removeRoute(interface, destination, nexthop, tableType);
500 addRoute(unsigned netId, const char* interface, const char* destination, const char* nexthop, bool legacy, uid_t uid) argument
505 removeRoute(unsigned netId, const char* interface, const char* destination, const char* nexthop, bool legacy, uid_t uid) argument
609 modifyRoute(unsigned netId, const char* interface, const char* destination, const char* nexthop, bool add, bool legacy, uid_t uid) argument
H A DCommandListener.cpp1544 // network route [legacy <uid>] add <netId> <interface> <destination> [nexthop]
1545 // network route [legacy <uid>] remove <netId> <interface> <destination> [nexthop]
1547 // nexthop may be either an IPv4/IPv6 address or one of "unreachable" or "throw".
1577 const char* nexthop = argc > nextArg ? argv[nextArg] : NULL; local
1581 ret = gCtls->netCtrl.addRoute(netId, interface, destination, nexthop, legacy, uid);
1583 ret = gCtls->netCtrl.removeRoute(netId, interface, destination, nexthop, legacy, uid);
H A DRouteController.cpp362 const char* destination, const char* nexthop) {
389 if (nexthop && !strcmp(nexthop, "unreachable")) {
392 // the table number. But it's an error to specify an interface ("dev ...") or a nexthop for
395 nexthop = NULL;
396 } else if (nexthop && !strcmp(nexthop, "throw")) {
399 nexthop = NULL;
410 // If a nexthop was specified, parse it as the same family as the prefix.
411 if (nexthop
361 modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination, const char* nexthop) argument
879 modifyRoute(uint16_t action, const char* interface, const char* destination, const char* nexthop, RouteController::TableType tableType) argument
1096 addRoute(const char* interface, const char* destination, const char* nexthop, TableType tableType) argument
1101 removeRoute(const char* interface, const char* destination, const char* nexthop, TableType tableType) argument
[all...]

Completed in 33 milliseconds