Home
last modified time | relevance | path

Searched refs:tableType (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DRouteController.h164 const char* nexthop, TableType tableType, int mtu,
167 const char* nexthop, TableType tableType, int priority);
169 const char* nexthop, TableType tableType, int mtu);
230 const char* destination, const char* nexthop, TableType tableType,
244 static bool isLocalRoute(TableType tableType, const char* destination, const char* nexthop);
DRouteController.cpp1164 const char* destination, const char* nexthop, TableType tableType, in modifyRoute() argument
1167 switch (tableType) { in modifyRoute()
1456 bool RouteController::isLocalRoute(TableType tableType, const char* destination, in isLocalRoute() argument
1459 return nexthop == nullptr && tableType == RouteController::INTERFACE && in isLocalRoute()
1467 TableType tableType, int mtu, int priority) { in addRoute() argument
1469 nexthop, tableType, mtu, priority, false /* isLocal */)) { in addRoute()
1473 if (isLocalRoute(tableType, destination, nexthop)) { in addRoute()
1475 nexthop, tableType, mtu, priority, true /* isLocal */); in addRoute()
1482 const char* nexthop, TableType tableType, int priority) { in removeRoute() argument
1484 tableType, 0 /* mtu */, priority, false /* isLocal */)) { in removeRoute()
[all …]
DNetworkController.cpp971 RouteController::TableType tableType; in modifyRoute() local
973 tableType = RouteController::LOCAL_NETWORK; in modifyRoute()
976 tableType = RouteController::LEGACY_SYSTEM; in modifyRoute()
978 tableType = RouteController::LEGACY_NETWORK; in modifyRoute()
981 tableType = RouteController::INTERFACE; in modifyRoute()
986 return RouteController::addRoute(interface, destination, nexthop, tableType, mtu, in modifyRoute()
989 return RouteController::updateRoute(interface, destination, nexthop, tableType, mtu); in modifyRoute()
991 return RouteController::removeRoute(interface, destination, nexthop, tableType, in modifyRoute()