Class EthTypeCriterion

  • All Implemented Interfaces:
    Criterion

    public final class EthTypeCriterion
    extends Object
    implements Criterion
    Implementation of Ethernet type criterion (16 bits unsigned integer).
    • Method Detail

      • type

        public Criterion.Type type()
        Description copied from interface: Criterion
        Returns the type of criterion.
        Specified by:
        type in interface Criterion
        Returns:
        type of criterion
      • ethType

        public EthType ethType()
        Gets the Ethernet frame type to match.
        Returns:
        the Ethernet frame type to match (16 bits unsigned integer)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object