Class EthCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.EthCriterion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.criteria.Criterion
Criterion.IPv6ExthdrFlags, Criterion.TcpFlags, Criterion.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()org.onlab.packet.MacAddressmac()Gets the MAC address to match.org.onlab.packet.MacAddressmask()Gets the mask for the MAC address to match.StringtoString()Criterion.Typetype()Returns the type of criterion.
-
-
-
Method Detail
-
type
public Criterion.Type type()
Description copied from interface:CriterionReturns the type of criterion.
-
mac
public org.onlab.packet.MacAddress mac()
Gets the MAC address to match.- Returns:
- the MAC address to match
-
mask
public org.onlab.packet.MacAddress mask()
Gets the mask for the MAC address to match.- Returns:
- the MAC address to match
-
-