Home | History | Annotate | Download | only in net

Lines Matching refs:destination

36      * The IP destination address for this route.
48 public RouteInfo(LinkAddress destination, InetAddress gateway) {
49 if (destination == null) {
52 destination = new LinkAddress(Inet4Address.ANY, 0);
54 destination = new LinkAddress(Inet6Address.ANY, 0);
57 // no destination, no gateway. invalid.
62 if (destination.getAddress() instanceof Inet4Address) {
68 mDestination = new LinkAddress(NetworkUtils.getNetworkPart(destination.getAddress(),
69 destination.getNetworkPrefixLength()), destination.getNetworkPrefixLength());
219 private boolean matches(InetAddress destination) {
220 if (destination == null) return false;
222 // if the destination is present and the route is default.
226 // match the route destination and destination with prefix length
227 InetAddress dstNet = NetworkUtils.getNetworkPart(destination,