Skip to main content

6. Protocol Mechanisms (6.1-6.4)

Section Two - Transport Protocol Specification​

6. Protocol Mechanisms​

Several functions are described as 'inherent' or 'pervasive'. Inherent functions must be invoked for every transport connection. Pervasive functions are optional, but if one is invoked for the first transport connection over a network connection, it must also be invoked for any and all other transport connections which use that network connection during its lifetime.

6.1 Assignment to Network Connection​

Purpose: Assignment of transport connections to network connections.

Network Service Primitives:

N-CONNECT
N-DISCONNECT

Description:

This function is inherent.

Before a transport connection can be created or used, it must be assigned to one (or more if splitting function is being used) network connection(s). Both transport entities involved must become aware of this assignment. A transport connection may be assigned to a suitable existing network connection; one or more new network connections may also be created for the purpose.

An existing network connection, which connects the relevant transport entities, is unsuitable for assignment of a transport connection if, for example:

  • the quality of service needed for the transport connection can not be met by using or enhancing the network connection.
  • the protocol class preferred or in use for the transport connection is incompatible with the current usage of the network connection as regards the use of pervasive functions (e.g., multiplexing).

When a new network connection is created, the quality of service requested is a local matter, though it will normally be related to the requirements of transport connection(s) expected to be assigned to it.

A Network Connection with no transport connections will be available after initial establishment or because explicit disconnection of all the transport connections previously assigned to it has taken place. Either Transport entity may as a local matter choose to disconnect the Network Connection or assign other Transport Connections to it.

6.2 Transport Protocol Data Unit (TPDU) Transfer​

Purpose: To convey transport protocol data unit in user data fields of network service primitives.

Network Service Primitives

N-DATA
N-EXPEDITED DATA

Description:

This function is inherent.

The Transport Protocol Data Units (TPDUs) defined for the protocol are listed in Figure 3.

                TPDU name                Abbreviation

Connection Request CR
Connection Confirm CC
Disconnect Request DR
Disconnect Confirm DC
Data DT
Expedited Data ED
Data Acknowledge AK
Expedited Acknowledge EA
Reject RJ
TPDU Error ERR

Figure 3. Transport Protocol Data Units

TPDUs are conveyed using the NS-User data parameters of the Network Service primitives, primarily with the N-DATA, but also with N-EXPEDITED primitives.

Transport entities shall accept all permissible assignments and may issue any permissible assignments. The permissible assignments of TPDUs to these primitives are shown in Figure 4. Concatenation of TPDUs is also permitted (see section 6.4).

Primitive               Applicable TPDUs                        Note

N-DATA CR, CC, DR, DT, ED,
AK, EA, RJ, DC, ERR

N-EXPEDITED ED, EA 1

Notes:

1. This assignment is permissible only when using class 1 and when
the network expedited variant has been agreed.

Figure 4. Network Service Primitives which can convey TPDUs.

6.3 Data TPDU Length and Segmenting​

Purpose: Mapping between one TSDU and TPDUs.

TPDUs and fields used:

DT
- End of TSDU (1 bit)

Description:

The data field of Data TPDUs may contain any number of octets up to an agreed maximum as negotiated at connection time.

A transport entity uses an End of TSDU mark as defined below:

In each Data TPDU a transport entity may indicate the end of a TSDU.

Category 1      Having the End of TSDU mark set to yes.  These
TPDUs may or may not have the maximum length.

Category 2 Having the End of TSDU mark set to no. These
TPDUs do not necessarily have the maximum
length.

A complete Data TPDU sequence is defined as being composed of either a single category 1 DT TPDU or consecutive category 2 followed by a category 1 DT TPDU.

6.4 Concatenation and Separation​

Pupose: Conveyance of multiple TPDUs in one NSDU.

Description:

All TPDUs carry in their TPDU header a length indicator (see Section 8.2.1). Additionally, TPDUs are classified as either Data TPDUs or Control TPDUs. Control TPDUs may or may not contain a data field. For TPDUs containing data the length of the data field is indicated by the length of the NSDU. These provisions permit any number of Control TPDUs that may not contain data to be concatenated with a single control TPDU which may contain data or with a single Data TPDU. The control TPDUs without data must precede the TPDU with data, if any. The number of TPDUs so concatenated is terminated by the end of the NSDU.

The concatenated set of TPDUs may be for the same or different transport connections. An implementation shall accept concatenated TPDUs and may concatenate TPDUs before transmission. The transport entity shall not send a concatenated set of TPDUs which exceeds twice the overall maximum TPDU length for all the TCs assigned to the network connection.