Searched refs:ipv4Default (Results 1 – 4 of 4) sorted by relevance
106 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0"); in testMatches() local107 assertTrue(ipv4Default.matches(Address("255.255.255.255"))); in testMatches()108 assertTrue(ipv4Default.matches(Address("192.0.2.1"))); in testMatches()109 assertFalse(ipv4Default.matches(Address("2001:db8::f00"))); in testMatches()
247 IpPrefix ipv4Default = new IpPrefix("0.0.0.0/0"); in testContainsInetAddress() local248 assertTrue(ipv4Default.contains(address("255.255.255.255"))); in testContainsInetAddress()249 assertTrue(ipv4Default.contains(address("192.0.2.1"))); in testContainsInetAddress()250 assertFalse(ipv4Default.contains(address("2001:db8::f00"))); in testContainsInetAddress()
357 RouteInfo ipv4Default = new RouteInfo( in makeLinkProperties() local360 stacked.addRoute(ipv4Default); in makeLinkProperties()
6020 RouteInfo ipv4Default = new RouteInfo( in makeClatLinkProperties() local6023 stacked.addRoute(ipv4Default); in makeClatLinkProperties()