Enum Criterion.Type

    • Enum Constant Detail

      • IN_PORT

        public static final Criterion.Type IN_PORT
        Switch input port.
      • IN_PHY_PORT

        public static final Criterion.Type IN_PHY_PORT
        Switch physical input port.
      • METADATA

        public static final Criterion.Type METADATA
        Metadata passed between tables.
      • ETH_DST

        public static final Criterion.Type ETH_DST
        Ethernet destination address.
      • ETH_DST_MASKED

        public static final Criterion.Type ETH_DST_MASKED
        Ethernet destination address with masking.
      • ETH_SRC

        public static final Criterion.Type ETH_SRC
        Ethernet source address.
      • ETH_SRC_MASKED

        public static final Criterion.Type ETH_SRC_MASKED
        Ethernet source address with masking.
      • ETH_TYPE

        public static final Criterion.Type ETH_TYPE
        Ethernet frame type.
      • VLAN_PCP

        public static final Criterion.Type VLAN_PCP
        VLAN priority.
      • INNER_VLAN_VID

        public static final Criterion.Type INNER_VLAN_VID
        Inner VLAN id. Note: Some drivers may not support this.
      • INNER_VLAN_PCP

        public static final Criterion.Type INNER_VLAN_PCP
        Inner VLAN pcp. Note: Some drivers may not support this.
      • IP_DSCP

        public static final Criterion.Type IP_DSCP
        IP DSCP (6 bits in ToS field).
      • IP_ECN

        public static final Criterion.Type IP_ECN
        IP ECN (2 bits in ToS field).
      • IPV4_SRC

        public static final Criterion.Type IPV4_SRC
        IPv4 source address.
      • IPV4_DST

        public static final Criterion.Type IPV4_DST
        IPv4 destination address.
      • TCP_SRC

        public static final Criterion.Type TCP_SRC
        TCP source port.
      • TCP_SRC_MASKED

        public static final Criterion.Type TCP_SRC_MASKED
        TCP source port with masking.
      • TCP_DST

        public static final Criterion.Type TCP_DST
        TCP destination port.
      • TCP_DST_MASKED

        public static final Criterion.Type TCP_DST_MASKED
        TCP destination port with masking.
      • UDP_SRC

        public static final Criterion.Type UDP_SRC
        UDP source port.
      • UDP_SRC_MASKED

        public static final Criterion.Type UDP_SRC_MASKED
        UDP source port with masking.
      • UDP_DST

        public static final Criterion.Type UDP_DST
        UDP destination port.
      • UDP_DST_MASKED

        public static final Criterion.Type UDP_DST_MASKED
        UDP destination port with masking.
      • SCTP_SRC

        public static final Criterion.Type SCTP_SRC
        SCTP source port.
      • SCTP_SRC_MASKED

        public static final Criterion.Type SCTP_SRC_MASKED
        SCTP source port with masking.
      • SCTP_DST

        public static final Criterion.Type SCTP_DST
        SCTP destination port.
      • SCTP_DST_MASKED

        public static final Criterion.Type SCTP_DST_MASKED
        SCTP destination port with masking.
      • ICMPV4_TYPE

        public static final Criterion.Type ICMPV4_TYPE
        ICMP type.
      • ICMPV4_CODE

        public static final Criterion.Type ICMPV4_CODE
        ICMP code.
      • ARP_SPA

        public static final Criterion.Type ARP_SPA
        ARP source IPv4 address.
      • ARP_TPA

        public static final Criterion.Type ARP_TPA
        ARP target IPv4 address.
      • ARP_SHA

        public static final Criterion.Type ARP_SHA
        ARP source hardware address.
      • ARP_THA

        public static final Criterion.Type ARP_THA
        ARP target hardware address.
      • IPV6_SRC

        public static final Criterion.Type IPV6_SRC
        IPv6 source address.
      • IPV6_DST

        public static final Criterion.Type IPV6_DST
        IPv6 destination address.
      • IPV6_FLABEL

        public static final Criterion.Type IPV6_FLABEL
        IPv6 Flow Label.
      • ICMPV6_TYPE

        public static final Criterion.Type ICMPV6_TYPE
        ICMPv6 type.
      • ICMPV6_CODE

        public static final Criterion.Type ICMPV6_CODE
        ICMPv6 code.
      • IPV6_ND_TARGET

        public static final Criterion.Type IPV6_ND_TARGET
        Target address for ND.
      • IPV6_ND_SLL

        public static final Criterion.Type IPV6_ND_SLL
        Source link-layer for ND.
      • IPV6_ND_TLL

        public static final Criterion.Type IPV6_ND_TLL
        Target link-layer for ND.
      • MPLS_LABEL

        public static final Criterion.Type MPLS_LABEL
        MPLS label.
      • TUNNEL_ID

        public static final Criterion.Type TUNNEL_ID
        Logical Port Metadata.
      • IPV6_EXTHDR

        public static final Criterion.Type IPV6_EXTHDR
        IPv6 Extension Header pseudo-field.
      • UNASSIGNED_40

        public static final Criterion.Type UNASSIGNED_40
        Unassigned value: 40.
      • PBB_UCA

        public static final Criterion.Type PBB_UCA
        PBB UCA header field.
      • ACTSET_OUTPUT

        public static final Criterion.Type ACTSET_OUTPUT
        Output port from action set metadata.
      • PACKET_TYPE

        public static final Criterion.Type PACKET_TYPE
        Packet type value.
      • OCH_SIGID

        public static final Criterion.Type OCH_SIGID
        Optical channel signal ID (lambda).
      • OCH_SIGTYPE

        public static final Criterion.Type OCH_SIGTYPE
        Optical channel signal type (fixed or flexible).
      • ODU_SIGID

        public static final Criterion.Type ODU_SIGID
        ODU (Optical channel Data Unit) signal ID.
      • ODU_SIGTYPE

        public static final Criterion.Type ODU_SIGTYPE
        ODU (Optical channel Data Unit) signal type.
      • PROTOCOL_INDEPENDENT

        public static final Criterion.Type PROTOCOL_INDEPENDENT
        Protocol-independent.
      • EXTENSION

        public static final Criterion.Type EXTENSION
        Extension criterion.
    • Method Detail

      • values

        public static Criterion.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Criterion.Type c : Criterion.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Criterion.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null