/*
* Interval value (in 4-byte words) for target-to-initiator markers. The interval is measured from the end of
* one marker to the beginning of the next one. The offer can have only a range; the response can have only a
* single value (picked from the offered range) or Reject. Will always be Irrelevant.
*/
entries.add(new NumericalRangeEntry(new KeySet(TextKeyword.IF_MARK_INT),// keySet
Use.LOPNS,// use
NegotiationStatus.IRRELEVANT,// negotiationStatus
2048,// negotiationValue
NumericalValueRange.create(1, 65535),// protocolValueRange
2048));// defaultValue
/*
* The maximum amount of data that either the initiator or the target can receive in any iSCSI PDU. Zero (don't
* care) can be used. I&T can specify (declare) the Max they can receive. This is a connection- and direction-
* specific parameter. The actual value used by the target will be min(This value, MaxBurstLength) for data-in
* and solicited data-out data. Min(This value, FirstBurstLength) for unsolicited data.
*/
entries.add(new NumericalEntry(new KeySet(TextKeyword.MAX_RECV_DATA_SEGMENT_LENGTH),// keySet
NegotiationType.DECLARED,// negotiationType
Use.LOPNS_AND_FFP,// use
NegotiationStatus.DEFAULT,// negotiationStatus
8192,// negotiationValue (default value, will be used if I sends
// 0)
NumericalValueRange.create(512, 16777215),// protocolValueRange
// 512 to 2^24 - 1
NumericalResultFunction.MIN,// resultFunction
8192,// defaultValue, 8K
true));// zeroMeansDontCare
/*
* Turns the initiator-to-target markers on or off.
*/
entries.add(new BooleanEntry(new KeySet(TextKeyword.OF_MARKER),// keySet
Use.LOPNS,// use
NegotiationStatus.DEFAULT,// negotiationStatus
false,// negotiationValue
BooleanResultFunction.AND,// resultFunction
false));// defaultValue
/*
* Interval value (in 4-byte words) for initiator-to-target markers. The interval is measured from the end of
* one marker to the beginning of the next one. The offer can have only a range; the response can have only a
* single value (picked from the offered range) or Reject. Will always be Irrelevant.
*/
entries.add(new NumericalRangeEntry(new KeySet(TextKeyword.OF_MARK_INT),// keySet
Use.LOPNS,// use
NegotiationStatus.IRRELEVANT,// negotiationStatus
2048,// negotiationValue
NumericalValueRange.create(1, 65535),// protocolValueRange
2048));// defaultValue