Searched refs:nextHop (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | NetdWrapper.java | 180 final String nextHop; in modifyRoute() local 185 nextHop = route.getGateway().getHostAddress(); in modifyRoute() 187 nextHop = INetd.NEXTHOP_NONE; in modifyRoute() 191 nextHop = INetd.NEXTHOP_UNREACHABLE; in modifyRoute() 194 nextHop = INetd.NEXTHOP_THROW; in modifyRoute() 197 nextHop = INetd.NEXTHOP_NONE; in modifyRoute() 202 mNetdService.networkAddRoute(netId, ifName, dst, nextHop); in modifyRoute() 204 mNetdService.networkRemoveRoute(netId, ifName, dst, nextHop); in modifyRoute()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 2018 final String nextHop; in addLegacyRouteForNetId() local 2021 nextHop = routeInfo.getGateway().getHostAddress(); in addLegacyRouteForNetId() 2023 nextHop = ""; in addLegacyRouteForNetId() 2026 mNetdService.networkAddLegacyRoute(netId, ifName, dst, nextHop, uid); in addLegacyRouteForNetId()
|
D | ConnectivityService.java | 6091 final String nextHop; in convertRouteInfo() local 6096 nextHop = route.getGateway().getHostAddress(); in convertRouteInfo() 6098 nextHop = INetd.NEXTHOP_NONE; in convertRouteInfo() 6102 nextHop = INetd.NEXTHOP_UNREACHABLE; in convertRouteInfo() 6105 nextHop = INetd.NEXTHOP_THROW; in convertRouteInfo() 6108 nextHop = INetd.NEXTHOP_NONE; in convertRouteInfo() 6115 rip.nextHop = nextHop; in convertRouteInfo()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 7050 assertEquals(route.getGateway().getHostAddress(), parcel.nextHop); in assertRouteInfoParcelMatches() 7052 assertEquals(INetd.NEXTHOP_NONE, parcel.nextHop); in assertRouteInfoParcelMatches() 7056 assertEquals(INetd.NEXTHOP_UNREACHABLE, parcel.nextHop); in assertRouteInfoParcelMatches() 7059 assertEquals(INetd.NEXTHOP_THROW, parcel.nextHop); in assertRouteInfoParcelMatches() 7062 assertEquals(INetd.NEXTHOP_NONE, parcel.nextHop); in assertRouteInfoParcelMatches()
|