Searched refs:ipv4Default (Results 1 – 3 of 3) sorted by relevance
105 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0"); in testMatches() local106 assertTrue(ipv4Default.matches(Address("255.255.255.255"))); in testMatches()107 assertTrue(ipv4Default.matches(Address("192.0.2.1"))); in testMatches()108 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()
258 RouteInfo ipv4Default = new RouteInfo( in makeLinkProperties() local261 stacked.addRoute(ipv4Default); in makeLinkProperties()