Class NiciraMatchCtMark

  • All Implemented Interfaces:
    org.onosproject.net.flow.criteria.ExtensionSelector, org.onosproject.net.flow.Extension

    public class NiciraMatchCtMark
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.criteria.ExtensionSelector
    Nicira conntrack mark extension selector.
    • Constructor Detail

      • NiciraMatchCtMark

        public NiciraMatchCtMark​(long ctMark)
        Creates a new conntrack state selector with given mark.
        Parameters:
        ctMark - conntrack mark
      • NiciraMatchCtMark

        public NiciraMatchCtMark​(long ctMark,
                                 long mask)
        Creates a new conntrack state selector with given mark.
        Parameters:
        ctMark - conntrack mark
        mask - conntrack mark mask
    • Method Detail

      • ctMark

        public long ctMark()
        Gets the conntrack mark.
        Returns:
        ctMark
      • ctMarkMask

        public long ctMarkMask()
        Gets the conntrack mark mask.
        Returns:
        ctMarkMask
      • type

        public org.onosproject.net.flow.criteria.ExtensionSelectorType type()
        Specified by:
        type in interface org.onosproject.net.flow.criteria.ExtensionSelector
      • deserialize

        public void deserialize​(byte[] data)
        Specified by:
        deserialize in interface org.onosproject.net.flow.Extension
      • serialize

        public byte[] serialize()
        Specified by:
        serialize in interface org.onosproject.net.flow.Extension
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object