blob: 5ed8c3a5f86120b0f03c446490d131954c43233a [file] [log] [blame]
Saurav Dasf710bd32014-09-25 16:56:00 -07001package net.onrc.onos.core.matchaction.match;
2
3import net.onrc.onos.core.util.IPv4Net;
4
5public class Ipv4Match implements Match {
6
7 IPv4Net dstIp;
8
9 public Ipv4Match(String ipAddressSlash) {
10 this.dstIp = new IPv4Net(ipAddressSlash);
11 }
12
13 public IPv4Net getDestination() {
14 return dstIp;
15 }
16
17}