Skip to main content

13.4-13.8 CC, DR, DC, DT and ED TPDUs

13.4 Connection Confirm (CC) TPDU​

13.4.1 Structure​

The structure of the CC TPDU shall be as follows:

  1      2     3   4   5   6     7     8     p   p+1 ...end
+---+----+---+---+---+---+---+-------+--------+-------------+
|LI | CC CDT|DST-REF|SRC-REF| CLASS |VARIABLE| USER |
| |1101| | | | | | OPTION| PART | DATA |
+---+----+---+---+---+---+---+-------+--------+-------------+

13.4.2 LI​

See 13.2.1

13.4.3 Fixed Part (Octets 2 to 7)​

The fixed part shall contain:

  • a) CC: Connection Confirm Code: 1101. Bits 8-5 of octet 2;
  • b) CDT: Initial Credit Allocation (set to 0000 in Classes 0 and 1). Bits 4-1 of octet 2;
  • c) DST-REF: Reference identifying the requested transport connection at the remote transport entity;
  • d) SRC-REF: Reference identifying the requested transport connection at the remote transport entity.
  • e) Class and Option: Defines the selected transport protocol class and option to be operated over the accepted transport connection according to the negotiation rules specified in 6.5;

13.4.4 Variable Part (Octet 8 to p)​

The parameters are defined in 13.3.4 and are subject to the constraints states in 6.5 (connection establishment). Parameters ruled out by selection of an alternative class and option shall not be present.

13.4.5 User Data (Octets p+1 to the end)​

No user data are permitted in class 0, and are optional in the other classes. Where permitted, it may not exceed 32 octets. The user data are subject to the constraints of the negotiation rules (see 6.5).

13.5 Disonnect Request (DR) TPDU​

13.5.1 Structure​

The structure of the DR TPDU shall be as follows:

  1     2      3     4    5     6     7    8     p   p+1 ...end
+--+---------+----+-----+----+-----+------+--------+----------+
|LI| DR | DST-REF. | SRC-REF. |REASON|VARIABLE| USER |
| |1000 0001| | | | | | PART | DATA |
+--+---------+----+-----+----+-----+------+--------+----------+

13.5.2 LI​

See Section 13.2.1

13.5.3 Fixed Part (Octets 2 to 7​

The fixed part shall contain:

  • a) DR: Disconnect Request Code: 1000 0000;

  • b) DST-REF: Reference identifying the transport connection at the remote transport entity;

  • c) SRC-REF: Reference identifying the transport connection at the transport entity initiating the TPDU. Value zero when reference is unassigned;

  • d) REASON: Defines the reason for disconnecting the transport connection. This field shall take one of the following values:

    The following values may be used for Classes 1 to 4:

1)  128 + 0 - Normal  disconnect  initiated   by   session
entity
2) 128 + 1 - Remote transport entity congestion at
connect request time
3) *128 + 2 - Connection negotiation failed (i.e. proposed
class(es) not supported)
4) 128 + 3 - Duplicate source reference detected for the
same pair of NSAPS.
5) 128 + 4 - Mismatched references
6) 128 + 5 - Protocol error
7) 128 + 6 - Not used
8) 128 + 7 - Reference overflow
9) 128 + 8 - Connection request refused on this network
connection
10) 128 + 9 - Not used
11) 128 + 10- Header or parameter length invalid

The following values can be used for all classes:

12)       0 - Reason not specified
13) 1 - Congestion at TSAP
14) *2 - Session entity not attached to TSAP
15) *3 - Address unknown

NOTE - Reasons marked with an asterisk (*) may be reported to the TS-user as persistent, other reasons as transient.

13.5.4 Variable Part (Octets 8 to p)​

The variable part may contain

  • a) A parameter allowing additional information related to the clearing of the connection.
Parameter code:    1110 0000
Parameter length: Any value provided that the length of
the DR TPDU does not exceed the maximum
agreed TPDU size or 128 when the DR
TPDU is used during the connection
refusal procedure
Parameter value: Additional information. The content of
this field is user defined.
  • b) Checksum (see 13.2.3.1)

13.5.5 User Data (Octets p+1 to the end)​

This field shall not exceed 64 octets and is used to carry TS-user data. The successful transfer of this data is not guaranteed by the transport protocol. When a DR TPDU is used in Class 0 it shall not contain this field.

13.6 Disconnect Confirm (DC) TPDU​

This TPDU shall not be used in Class 0.

13.6.1 Structure​

The structure of DC TPDU shall be as follows:

  1       2         3     4     5     6    7        p
+----+-----------+-----+-----+-----+-----+-------+--------+
| LI | DC | DST REF | SRC REF | Variable Part |
| | 1100 0000 | | | | | | |
+----+-----------+-----+-----+-----+-----+-------+--------+

13.6.2 LI​

See 13.2.1

13.6.3 Fixed Part (Octets 2 to 6)​

The fixed part shall contain:

  • a) DC: Disconnect Confirm Code: 1100 0000;
  • b) DST-REF: See 13.4.3;
  • c) SRC-REF: See 13.4.3.

13.6.4 Variable Part​

The variable part shall contain the checksum parameter if the condition in (see 13.2.3.1) applies.

13.7 Data (DT) TPDU​

13.7.1 Structure​

Depending on the class and the option the DT TPDU shall have one of the following structures.

  • a) Normal format for Classes 0 and 1
  1       2         3          4       5             ... end
+----+-----------+-----------+------------ - - - - - -------+
| LI | DT | TPDU-NR | User Data |
| | 1111 0000 | and EOT | |
+----+-----------+-----------+------------ - - - - - -------+
  • b) Normal format for Classes 2, 3 and 4
  1      2       3   4     5     6       p    p+1       ... end
+----+---------+---+---+-------+-----+-------+----------- - - -+
| LI | DT |DST-REF|TPDU-NR|Variable Part|User Data |
| |1111 0000| | |and EOT| | | |
+----+---------+---+---+-------+-----+-------+----------- - - -+
  • c) Extended Format for use in Classes 2, 3 and 4 when selected during connection establishment.
  1      2       3   4   5,6 7,8  9     p  p+1      ... end
+----+---------+---+---+---------+--------+---------- - - -+
| LI | DT |DST-REF| TPDU-NR |Variable|User Data |
| |1111 0000| | | and EOT | Part | |
+----+---------+---+---+---------+--------+---------- - - -+

13.7.2 LI​

See 13.2.1

13.7.3 Fixed Part​

The fixed part shall contain:

  • a) DT: Data Transfer Code: 1111 0000;
  • b) DST-REF: See 13.4.3;
  • c) EOT: When set to ONE, indicates that the current DT TPDU is the last data unit of a complete DT TPDU sequence (End of TSDU). EOT is bit 8 of octet 3 in class 0 and 1, bit 8 of octet 5 for normal formats for classes 2, 3 and 4 and bit 8 of octet 8 for extended formats;
  • d) TPDU-NR: TPDU send Sequence Number (zero in Class 0). May take any value in Class 2 without explicit flow control. TPDU-NR is bits 7-1 of octet 3 for classes 0 and 1, bits 7-1 of octet 5 for normal formats in classes 2, 3 and 4, octets 5, 6 and 7 together with bits 7-1 of octet 8 for extended formats.

NOTE - Depending on the class, the fixed part of the DT TPDU uses the following octets:

Classes 0 and 1:                Octets 2 to 3;
Classes 2,3,4 normal format: Octets 2 to 5;
Classes 2,3,4 extended format: Octets 2 to 8.

13.7.4 Variable Part​

The variable part shall contain the checksum parameter if the condition in see 13.2.3.1 applies.

13.7.5 User Data Field​

This field contains data of the TSDU being transmitted.

NOTE - The length of this field is limited to the negotiated TPDU size for this transport connection minus 3 octets in Classes 0 and 1, and minus 5 octets (normal header format) or 8 octets (extended header format) in the other classes. The variable part, if present, may further reduce the size of the user data field.

13.8 Expedited Data (ED) TPDU​

The ED TPDU shall not be used in Class 0 or in Class 2 when the no explicit flow control option is selected or when the expedited data transfer service has not been selected for the connection.

13.8.1 Structure​

Depending on the format negotiated at connection establishment the ED TPDU shall have one of the following structures:

  • a) Normal Format (classes 1, 2, 3, 4)
 1     2       3   4      5     6        p    p+1     ... end
+--+---------+---+---+---------+-----+-------+---------------+
|LI| ED |DST-REF|EDTPDU-NR|Variable Part|User Data |
| |0001 0000| | |and EOT | | | |
+--+---------+---+---+---------+-----+-------+---------------+
  • b) Extended Format (for use in classes 2, 3, 4 when selected during connection establishment).
 1     2       3   4   5,6,7,8  9        p    p+1     ... end
+--+---------+---+---+---------+-----+-------+---------------+
|LI| ED |DST-REF|EDTPDU-NR|Variable Part|User Data |
| |0001 0000| | |and EOT | | | |
+--+---------+---+---+---------+-----+-------+---------------+

13.8.2 LI​

See 13.2.1

13.8.3 Fixed Part​

The fixed part shall contain:

  • a) ED: Expedited Data code: 0001 0000;
  • b) DST-REF: see 13.4.3;
  • c) ED-TPDU-NR: Expedited TPDU identification number. ED-TPDU-NR is used in classes 1, 3 and 4 and may take any value in Class 2. Bits 7-1 of octet 5 for normal formats and octets 5, 6 and 7 together with bits 7-1 of octet 8 for extended formats;
  • d) EOT: end of TSDU always set to 1 (bit 8 of octet 5 for normal formats and bit 8 of octet 8 for extended formats).

NOTE - Depending on the format the fixed part shall be either octets 2 to 5 or 2 to 8.

13.8.4 Variable Part​

The variable part shall contain the checksum parameter if the condition defined in 13.2.3.1 applies.

13.8.5 User Data Field​

This field contains an expedited TSDU (1 to 16 octets).