/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/ |
D | NetdUtils.java | 22 import static android.net.RouteInfo.RTN_UNICAST; 165 new RouteInfo(dest, null, iface, RTN_UNICAST)); in tetherInterface() 167 new RouteInfo(new IpPrefix("fe80::/64"), null, iface, RTN_UNICAST)); in tetherInterface() 218 new RouteInfo(new IpPrefix("fe80::/64"), null, iface, RTN_UNICAST)); in addRoutesToLocalNetwork() 240 case RTN_UNICAST: in findNextHop() 290 case RouteInfo.RTN_UNICAST: in toRouteInfoParcel()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 26 import static android.net.RouteInfo.RTN_UNICAST; 303 lp.addRoute(new RouteInfo(new IpPrefix("192.0.2.0/24"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 319 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv4Gateway), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 330 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw1), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 344 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw2), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 362 RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 364 RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 384 lp.addRoute(new RouteInfo(new IpPrefix("2001:db8::/64"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 710 new RouteInfo(new IpPrefix(USB_PREFIX), null, null, RTN_UNICAST)); in testAddRemoveDownstreams() 717 new RouteInfo(new IpPrefix(IPV6_LINKLOCAL), null, null, RTN_UNICAST)); in testAddRemoveDownstreams() [all …]
|
D | IPv6TetheringCoordinatorTest.java | 20 import static android.net.RouteInfo.RTN_UNICAST; 91 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, TEST_INTERFACE, RTN_UNICAST)); in createDualStackUpstream() 93 RTN_UNICAST)); in createDualStackUpstream()
|
D | TetheringTest.java | 36 import static android.net.RouteInfo.RTN_UNICAST; 563 interfaceName, RTN_UNICAST)); in buildUpstreamLinkProperties() 573 interfaceName, RTN_UNICAST)); in buildUpstreamLinkProperties() 582 clatInterface, RTN_UNICAST)); in buildUpstreamLinkProperties()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | RouteInfo.java | 62 RTN_UNICAST, 94 public static final int RTN_UNICAST = 1; field in RouteInfo 174 case RTN_UNICAST: in RouteInfo() 250 this(destination, gateway, iface, RTN_UNICAST); in RouteInfo() 427 return mType == RTN_UNICAST && mDestination.getPrefixLength() == 0; in isDefaultRoute() 533 if (mType != RTN_UNICAST) { in toString()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | RouteInfoTest.java | 20 import static android.net.RouteInfo.RTN_UNICAST; 301 r = new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), RTN_UNICAST); in testRouteTypes() 302 assertEquals(RTN_UNICAST, r.getType()); in testRouteTypes() 354 RouteInfo.RTN_UNICAST, 1500); in testMtu() 374 RouteInfo.RTN_UNICAST, 1400).getRouteKey(); in testRouteKey()
|
D | LinkPropertiesTest.java | 20 import static android.net.RouteInfo.RTN_UNICAST; 1262 lp.addRoute(new RouteInfo(new IpPrefix(ADDRV4, 24), RTN_UNICAST)); in testHasExcludeRoute() 1263 lp.addRoute(new RouteInfo(new IpPrefix(ADDRV6, 0), RTN_UNICAST)); in testHasExcludeRoute() 1276 lp.addRoute(new RouteInfo(v6, address("fe80::1"), "wlan0", RTN_UNICAST, 1280)); in testRouteAddWithSameKey() 1278 lp.addRoute(new RouteInfo(v6, address("fe80::1"), "wlan0", RTN_UNICAST, 1500)); in testRouteAddWithSameKey() 1281 lp.addRoute(new RouteInfo(v4, address("192.0.2.1"), "wlan0", RTN_UNICAST, 1460)); in testRouteAddWithSameKey() 1300 lp.addRoute(new RouteInfo(new IpPrefix(DNS6, 127), RTN_UNICAST)); in assertExcludeRoutesVisible() 1317 lp.addRoute(new RouteInfo(new IpPrefix(DNS6, 127), RTN_UNICAST)); in assertExcludeRoutesNotVisible()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | NetdWrapper.java | 189 case RouteInfo.RTN_UNICAST: in modifyRoute() 231 new RouteInfo(new IpPrefix("fe80::/64"), null, iface, RouteInfo.RTN_UNICAST)); in addInterfaceToLocalNetwork() 453 null, null, RouteInfo.RTN_UNICAST); in tetherInterface()
|
D | IpConfigStore.java | 149 gateway, null, RouteInfo.RTN_UNICAST); in readIpConfigurations()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | NetUtils.java | 73 if (bestRoute != null && bestRoute.getType() == RouteInfo.RTN_UNICAST) { in selectBestRoute()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | NetlinkConstants.java | 172 public static final short RTN_UNICAST = 1; field in NetlinkConstants
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/ |
D | InitialConfiguration.java | 182 && route.getType() == RouteInfo.RTN_UNICAST in isDirectlyConnectedRoute()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 27 import static com.android.net.module.util.netlink.NetlinkConstants.RTN_UNICAST; 366 && msg.getRtMsgHeader().type == RTN_UNICAST; in isGlobalUnicastRoute()
|
D | IpReachabilityMonitor.java | 376 && route.getType() == RouteInfo.RTN_UNICAST) {
|
D | IpClient.java | 19 import static android.net.RouteInfo.RTN_UNICAST; 1963 newLp.addRoute(new RouteInfo(prefix, null, mInterfaceName, RTN_UNICAST)); in assembleLinkProperties() 2114 if (r.getType() == RTN_UNICAST && r.getDestination().getPrefixLength() == 0 in getIPv6DefaultGateway()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinator.java | 279 lp.addRoute(new RouteInfo(local48, null, null, RouteInfo.RTN_UNICAST)); in getUniqueLocalConfig()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 19 import static android.net.RouteInfo.RTN_UNICAST; 580 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute() 1554 localRoutes.add(new RouteInfo(ipp, null, ifname, RTN_UNICAST)); in getLocalRoutesFor()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | RtNetlinkRouteMessageTest.java | 87 assertEquals(NetlinkConstants.RTN_UNICAST, rtmsg.type); in assertRtmRouteMessage()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 21 import static android.net.RouteInfo.RTN_UNICAST; 840 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, iface, RTN_UNICAST)); in buildIpv6OnlyLinkProperties() 986 RouteInfo.RTN_UNICAST); in assertIPv4AddressAndDirectlyConnectedRoute()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | TunInterfaceController.java | 282 return new RouteInfo(ipPrefix, null, mIfName, RouteInfo.RTN_UNICAST, MTU); in getRouteForIpPrefix()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 668 RouteInfo route = new RouteInfo(null, gateway, null, RouteInfo.RTN_UNICAST); in parseIpConfigurationFromXml()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 29 import static com.android.net.module.util.netlink.NetlinkConstants.RTN_UNICAST; 280 (short) RT_SCOPE_UNIVERSE /* scope */, RTN_UNICAST /* type */, 0 /* flags */); in buildRtmRouteMessage()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 19 import static android.net.RouteInfo.RTN_UNICAST; 1699 RTN_UNICAST)); in configureAgentProperties()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 221 if (route.getType() == RouteInfo.RTN_UNICAST && route.hasGateway()) { in NetworkDiagnostics()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 260 IPV4_SUBNET = new RouteInfo(subnet, any4, null /* iface */, RouteInfo.RTN_UNICAST); 262 RouteInfo.RTN_UNICAST);
|