Structure and Encoding of PDUs (Part 2)
8.5 Options Part
8.5.1 General
The options part is used to convey optional parameters. The options part of the PDU header is illustrated below:
Octet
___________________________________________________
| | p
: Options :
| | q
|__________________________________________________|
Figure 7: All PDUs - Options Part
If the options part is present, it may contain one or more parameters. The number of parameters that may be contained in the options part is constrained by the length of the options part, which is determined by the following formula:
PDU Header Length - (length of fixed part + length of address
part + length of segmentation part),
and by the length of the individual optional parameters.
Parameters defined in the options part may appear in any order. Duplication of options is not permitted.Receipt of a PDU with an option duplicated must be treated as a protocol error.
The encoding of parameters contained within the options part of the PDU header is illustrated below in figure 8.
Octets
_________________________________
| n | Parameter Code |
|____________|__________________|
| n + 1 | Parameter Length |
|____________|__________________|
| n + 2 | |
| to | Parameter Value |
| n + m + 1 | |
|____________|__________________|
Figure 8: Encoding of Option Parameters
The parameter code field is coded in binary and, without extensions, provides a maximum of 255 different parameters. No parameter codes use bits 8 and 7 with the value 00, so the actual maximum number of parameters is lower. A parameter code of 255 (binary 1111 1111) is reserved for possible future extensions.
The parameter length field indicates the length, in octets, of the parameter value field.The length is indicated by a positive binary number, m, with a theoretical maximum value of 254. the practical maximum value of m is lower. For example, in the case of a single parameter contained within the options part, two octets are required for the parameter code and the parameter length indicators. Thus, the value of m is limited to:
m = 252-(length of fixed part +length of address part
+length of segmentation part )
For each succeeding parameter the maximum value of m decreases. The parameter value field contains the value of the parameter identified in the parameter code field.
The following parameters are permitted in the options part.
8.5.2 Security
The Security parameter conveys information about the security requested in the Data PDU that caused the containing RD PDU to be generated. This parameter has the same encoding and semantics as the Security parameter in ISO 8473.
Parameter Code: 1100 0101
Parameter Length: variable
Parameter Value: See Section 7.5.3 of ISO 8473
8.5.3 Quality of Service Maintenance
The Quality of Service parameter conveys information about the quality of service requested in the Data PDU that caused the containing RD PDU to be generated.
This parameter has the same encoding and semantics as the QoS Maintenance parameter in ISO 8473.
Parameter Code: 1100 0011
Parameter Length: variable
Parameter Value: See Section 7.5.6 of ISO 8473
8.5.4 Priority
The Priority parameter conveys information about the priority requested in the Data PDU that caused the containing RD PDU to be generated.
This parameter has the same encoding and semantics as the Priority parameter in ISO 8473.
Parameter Code: 1100 1101
Parameter Length: one octet
Parameter Value: See Section 7.5.7 of ISO 8473
8.6 End System Hello (ESH) PDU
8.6.1 Structure
The ESH PDU has the following format:
Octet
____________________________________________
| Network Layer Protocol Identifier | 1
|__________________________________________|
| Length Indicator | 2
|__________________________________________|
| Version/Protocol Id Extension | 3
|__________________________________________|
| reserved (must be zero) | 4
|__________________________________________|
|0 |0 |0 | Type | 5
|__|__|__|_________________________________|
| Holding Time | 6,7
|__________________________________________|
| Checksum | 8,9
|__________________________________________|
| Source Address Length Indicator (SAL) | 10
|__________________________________________|
| | 11
: Source Address (SA) :
| | m - 1
|__________________________________________|
| | m
: Options :
| | p - 1
|__________________________________________|
Figure 9: ESH PDU Format
8.7 Intermediate System Hello (ISH) PDU
8.7.1 Structure
The ISH PDU has the following format:
Octet
_______________________________________________
| Network Layer Protocol Identifier | 1
|_____________________________________________|
| Length Indicator | 2
|_____________________________________________|
| Version/Protocol Id Extension | 3
|_____________________________________________|
| reserved (must be zero) | 4
|_____________________________________________|
|0 |0 |0 | Type | 5
|__|__|__|____________________________________|
| Holding Time | 6,7
|_____________________________________________|
| Checksum | 8,9
|_____________________________________________|
|Network Entity Title Length Indicator (NETL) | 10
|_____________________________________________|
| | 11
: Network Entity Title (NET) :
| | m - 1
|_____________________________________________|
| | m
: Options :
| | p - 1
|_____________________________________________|
Figure 10: ISH PDU Format
8.8 Redirect (RD) PDU
8.8.1 Structure
The RD PDU has the following format:
Octet
______________________________________________
| Network Layer Protocol Identifier | 1
|_____________________________________________|
| Length Indicator | 2
|_____________________________________________|
| Version/Protocol Id Extension | 3
|_____________________________________________|
| reserved (must be zero) | 4
|_____________________________________________|
|0 |0 |0 | Type | 5
|__|__|__|____________________________________|
| Holding Time | 6,7
|_____________________________________________|
| Checksum | 8,9
|_____________________________________________|
| Destination Address Length Indicator (DAL)| 10
|_____________________________________________|
| | 11
: Destination Address (DA) :
| | m - 1
|_____________________________________________|
|Subnetwork Address Length Indicator (BSNPAL) | m
|_____________________________________________|
| | m + 1
: Subnetwork Address (DBSNPA) :
| | n - 1
|_____________________________________________|
|Network Entity Title Length Indicator (NETL) | n
|_____________________________________________|
| | n + 1
: Network Entity Title (NET) :
| | p - 1
|_____________________________________________|
| | p
: Options :
| | q - 1
|_____________________________________________|
Figure 11: RD PDU Format when Redirect is to an IS
Octet
______________________________________________
| Network Layer Protocol Identifier | 1
|_____________________________________________|
| Length Indicator | 2
|_____________________________________________|
| Version/Protocol Id Extension | 3
|_____________________________________________|
| reserved (must be zero) | 4
|_____________________________________________|
|0 |0 |0 | Type | 5
|__|__|__|____________________________________|
| Holding Time | 6,7
|_____________________________________________|
| Checksum | 8,9
|_____________________________________________|
| Destination Address Length Indicator (DAL)| 10
|_____________________________________________|
| | 11
: Destination Address (DA) :
| | m - 1
|_____________________________________________|
|Subnetwork Address Length Indicator (BSNPAL) | m
|_____________________________________________|
| | m + 1
: Subnetwork Address (DBSNPA) :
| | n - 1
|_____________________________________________|
| NETL = 0 | n
|_____________________________________________|
| | n + 1
: Options :
| | p - 1
|_____________________________________________|
| Quality of Service | n + 1
|_____________________________________________|
Figure 12: RD PDU Format when Redirect is to an ES