Class IPProtocolCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.IPProtocolCriterion
-
-
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 boolean
equals(Object obj)
int
hashCode()
short
protocol()
Gets the IP protocol to match.String
toString()
Criterion.Type
type()
Returns the type of criterion.
-
-
-
Method Detail
-
type
public Criterion.Type type()
Description copied from interface:Criterion
Returns the type of criterion.
-
protocol
public short protocol()
Gets the IP protocol to match.- Returns:
- the IP protocol to match (8 bits unsigned integer)
-
-