6.5 Connection Establishment
Purpose: Creation of a new transport connection.
Network Service Primitives:
N-DATA
TPDUs and fields used:
CR, CC
- source reference (16 bits)
- initial credit (if applicable)
- calling transport address (optional)
- called transport address (optional)
- user data (optional)
- TPDU size (optional)
- sequence number length (optional)
- checksum selection (optional)
- acknowledgement time (optional)
- quality of service (optional)
CR
- preferred protocol class
- alternative protocol classes (zero or more)
- version number (optional)
- security (optional)
- proposed options
CC
- destination reference (16 bits)
- selected protocol class
- selected options
Description:
This function is inherent:
A transport connection is established by means of one transport entity (the initiator) transmitting a Connection Request (CR) TPDU to the other transport entity (the responder), which replies with a Connection Confirm (CC) TPDU. Before sending the CR TPDU, the initiator assigns the transport connection being created to one (or more if the splitting function is being used) network connection(s). It is this set of network connections over which the TPDUs are sent. During this exchange, all information and parameters needed for the transport entities to operate must be exchanged or negotiated.
The following information is exchanged:
-
references. Each transport entity chooses a reference which is 16 bits long and which is arbitrary except for the following restrictions:
- it cannot already be in use or "frozen" (see "Frozen References", Section 6.19).
- it cannot be zero.
Each transport entity is responsible for selecting the Reference which the partner will use. This mechanism is symmetrical and therefore avoids the need to assign a status of master or slave to partners and avoids call collision. This mechanism also provides identification of the transport connection independent of the network connection. The range of References used for transport connections, in a given transport entity, is a local system parameter.
- addresses (optional). Indicate the calling and called transport service access points. When either network address unambiguously defines the transport address this information may be omitted.
- initial credit. Only relevant for classes which include the Explicit Flow Control Function.
- user data. Not available in class 0. Up to 32 octets in in other classes.
The following negotiations take place:
- protocol class. The initiator shall propose a preferred class and any number of alternatives. (Except that no alternatives are allowed when class 0 is the preference.) The initiator should assume when it sends the CR TPDU that its preferred class will be agreed to, and commence the functions associated with that class.
Note: This means, for example, that when a class which includes resynchronization (see "Resynchronization", Section 6.15) is preferred, resynchronization will occur if a reset is signalled during connection establishment.
When the responder has decided which class is to be used, it shall indicate this in the CC TPDU and shall invoke the appropriate functions for the class. The responder may select the preferred class, or any of the alternative classes or may select class 0 if class 1 is proposed or class 2 if class 3 or 4 is proposed. (see Section 9)
If the preferred class is not selected, then on receipt of the CC TPDU, the initiator shall adjust its functions accordingly.
- TPDU Size. The initiator may propose a maximum size for TPDUs, and the responder may accept this value or respond with any value between the proposed value and 128 in the set of values available (see "Encoding", Section 8).
- sequence number length. Either normal or extended is available. When the sequence number is extended, the credit field (if applicable) is also extended.
- checksum selection. This defines whether or not TPDUs of the connection are to include a checksum.
- version number. This defines the version of the transport protocol standard used for this connection.
- security parameter. This parameter and its semantics are user defined.
- quality of service parameter. This defines the throughput, delay, priority and residual error rate.
- The non-use of explicit flow control in class 2 is negotiated.
- The use of Network Receipt Confirmation and Network expedited is negotiated when class 1 is to be used.
The negotiation rules for the options are such that the initiator may propose either to use or not to use the option. The responder may either accept the proposed choice or select the mandatory alternative defined in Section 9.
During the establishment phase of the transport connection, the use of the expedited data option field of CR/CC allows both Transport Service user to negotiate the use or non use of the expedited data transport service as described in the transport service definitions.
The following table summarizes the negotiation possibilities for the options.
Proposition Made Possible
by the Initiator Selection by
Option the Responder
Transport expedited data Yes Yes or No
transfer service No No
Use of receipt confir- Yes Yes or No
mation (class 1 only) No No
Use of the network Yes Yes or No
expedited variant No No
(class 1 only)
Non use of checksum Yes Yes or No
(class 4 only) No No
Non use of explicit Yes Yes or No
flow control (class 2 only) No No
Use of extended format Yes Yes or No
No No
In class 2, whenever a transport entity requests or agrees to the Transport Expedited data transfer service or to the use of extended formats, it must also request or agree (respectively) to the use of explicit flow control.