@Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;

    result = prime * result + ((value == null) ? 0 : value.hashCode());
    result = prime * result + ((mask == null) ? 0 : mask.hashCode());
    return result;
  }
    @Override
    public OFOxmSctpDstMasked readFrom(ByteBuf bb) throws OFParseError {
      // fixed value property typeLen == 0x80002504L
      int typeLen = bb.readInt();
      if (typeLen != (int) 0x80002504)
        throw new OFParseError("Wrong typeLen: Expected=0x80002504L(0x80002504L), got=" + typeLen);
      TransportPort value = TransportPort.read2Bytes(bb);
      TransportPort mask = TransportPort.read2Bytes(bb);

      OFOxmSctpDstMaskedVer14 oxmSctpDstMaskedVer14 = new OFOxmSctpDstMaskedVer14(value, mask);
      if (logger.isTraceEnabled()) logger.trace("readFrom - read={}", oxmSctpDstMaskedVer14);
      return oxmSctpDstMaskedVer14;
    }
  @Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;
    if (getClass() != obj.getClass()) return false;
    OFOxmSctpDstMaskedVer14 other = (OFOxmSctpDstMaskedVer14) obj;

    if (value == null) {
      if (other.value != null) return false;
    } else if (!value.equals(other.value)) return false;
    if (mask == null) {
      if (other.mask != null) return false;
    } else if (!mask.equals(other.mask)) return false;
    return true;
  }