Lines Matching refs:Prefix
35 private IpPrefix Prefix(String prefix) {
36 return new IpPrefix(prefix);
51 assertEquals(Prefix("::/0"), r.getDestination());
56 assertEquals(Prefix("0.0.0.0/0"), r.getDestination());
61 r = new RouteInfo(Prefix("2001:db8:beef:cafe::/48"), null, "lo");
62 assertEquals(Prefix("2001:db8:beef::/48"), r.getDestination());
66 r = new RouteInfo(Prefix("192.0.2.5/24"), null);
67 assertEquals(Prefix("192.0.2.0/24"), r.getDestination());
87 r = new PatchedRouteInfo(Prefix("2001:db8:f00::ace:d00d/127"), null, "rmnet0");
94 r = new PatchedRouteInfo(Prefix("192.0.2.0/23"), null, "wlan0");
100 PatchedRouteInfo ipv6Default = new PatchedRouteInfo(Prefix("::/0"), null, "rmnet0");
104 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0");
122 RouteInfo r1 = new RouteInfo(Prefix("2001:db8:ace::/48"), Address("2001:db8::1"), "wlan0");
123 RouteInfo r2 = new RouteInfo(Prefix("2001:db8:ace::/48"), Address("2001:db8::1"), "wlan0");
126 RouteInfo r3 = new RouteInfo(Prefix("2001:db8:ace::/49"), Address("2001:db8::1"), "wlan0");
127 RouteInfo r4 = new RouteInfo(Prefix("2001:db8:ace::/48"), Address("2001:db8::2"), "wlan0");
128 RouteInfo r5 = new RouteInfo(Prefix("2001:db8:ace::/48"), Address("2001:db8::1"), "rmnet0");
134 r1 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.1"), "wlan0");
135 r2 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.1"), "wlan0");
138 r3 = new RouteInfo(Prefix("192.0.2.0/24"), Address("192.0.2.1"), "wlan0");
139 r4 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.2"), "wlan0");
140 r5 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.1"), "rmnet0");
146 r1 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.1"), null);
147 r2 = new RouteInfo(Prefix("192.0.2.0/25"), Address("192.0.2.1"), null);
148 r3 = new RouteInfo(Prefix("192.0.2.0/24"), Address("192.0.2.1"), "wlan0");
156 r = new RouteInfo(Prefix("0.0.0.0/0"), Address("0.0.0.0"), "wlan0");
162 r = new RouteInfo(Prefix("::/0"), Address("::"), "wlan0");
168 r = new RouteInfo(Prefix("192.0.2.0/24"), null, "wlan0");
174 r = new RouteInfo(Prefix("2001:db8::/48"), null, "wlan0");
180 r = new RouteInfo(Prefix("192.0.2.0/32"), Address("0.0.0.0"), "wlan0");
186 r = new RouteInfo(Prefix("2001:db8::/128"), Address("::"), "wlan0");
192 r = new RouteInfo(Prefix("192.0.2.0/32"), null, "wlan0");
198 r = new RouteInfo(Prefix("2001:db8::/128"), null, "wlan0");
204 r = new RouteInfo(Prefix("::/128"), Address("fe80::"), "wlan0");
210 r = new RouteInfo(Prefix("0.0.0.0/32"), Address("192.0.2.1"), "wlan0");
235 r = new RouteInfo(Prefix("230.0.0.0/32"), Address("192.0.2.1"), "wlan0");
236 r = new RouteInfo(Prefix("ff02::1/128"), Address("2001:db8::1"), "wlan0");
262 r = new RouteInfo(Prefix("::/0"), Address("2001:db8::"), null);
265 r = new RouteInfo(Prefix("192.0.2.0/24"), null, "wlan0");