2.2.4 Extended Options


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

OptionsCount

OptionList (variable)

...

OptionId

OptionLen

OptionsValue (variable)

...

OptionsCount (2 bytes): MUST be set to the number of Extended Options specified in the OptionList field.

OptionList (variable): Specifies an array of Extended Options. The count of Extended Options in this field MUST match the value specified by the OptionsCount field. As specified in the following section, each individual element of the array MUST specify three fields to fully describe an Extended Option: OptionId, OptionLen and OptionValue:

OptionId (2 bytes): MUST be set to the unique ID assigned to the Extended Option.

OptionLen (2 bytes): MUST be set to the length, in bytes, for the OptionValue.

OptionsValue (variable): MUST be set to the value for the Extended Option. The length in bytes for this field is specified by the OptionLen field.