Searched refs:nexthop (Results 1 - 5 of 5) sorted by relevance
/system/netd/server/ |
H A D | RouteController.h | 69 // |nexthop| can be NULL (to indicate a directly-connected route), "unreachable" (to indicate a 71 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 D | NetworkController.h | 77 // |nexthop| can be NULL (to indicate a directly-connected route), "unreachable" (to indicate a 83 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 D | RouteController.cpp | 336 const char* destination, const char* nexthop) { 363 if (nexthop && !strcmp(nexthop, "unreachable")) { 366 // the table number. But it's an error to specify an interface ("dev ...") or a nexthop for 369 nexthop = NULL; 370 } else if (nexthop && !strcmp(nexthop, "throw")) { 373 nexthop = NULL; 384 // If a nexthop was specified, parse it as the same family as the prefix. 385 if (nexthop 335 modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination, const char* nexthop) argument 790 modifyRoute(uint16_t action, const char* interface, const char* destination, const char* nexthop, RouteController::TableType tableType) argument 982 addRoute(const char* interface, const char* destination, const char* nexthop, TableType tableType) argument 987 removeRoute(const char* interface, const char* destination, const char* nexthop, TableType tableType) argument [all...] |
H A D | NetworkController.cpp | 439 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) { 552 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) : 553 RouteController::removeRoute(interface, destination, nexthop, tableType); 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 D | CommandListener.cpp | 1382 // network route [legacy <uid>] add <netId> <interface> <destination> [nexthop] 1383 // network route [legacy <uid>] remove <netId> <interface> <destination> [nexthop] 1385 // nexthop may be either an IPv4/IPv6 address or one of "unreachable" or "throw". 1415 const char* nexthop = argc > nextArg ? argv[nextArg] : NULL; local 1419 ret = sNetCtrl->addRoute(netId, interface, destination, nexthop, legacy, uid); 1421 ret = sNetCtrl->removeRoute(netId, interface, destination, nexthop, legacy, uid);
|
Completed in 125 milliseconds