跳到主要内容

5. Management of Transport Service Endpoints

5. Management of Transport service endpoints.​

As mentioned in Part 1.2.1.1, a transport entity needs some way of referencing a transport connection endpoint within the end system: a TCEP_id. There are several factors influencing the management of TCEP_ids:

1)  IPC mechanism between the transport entity and the session
entity (Part 3.3);

2) transport entity resources and resource management (Part 4);

3) number of distinct TSAPs supported by the entity (Part 1.2.2.1);
and

4) user process rendezvous mechanism (the means by which session
processes identify themselves to the transport entity, at a
given TSAP, for association with a transport connection);

The IPC mechanism and the user process rendezvous mechanism have more direct influence than the other two factors on how the TCEP_id

McCoy [Page 42]

RFC 1008 June 1987

management is implemented.

The number of TCEP_ids available should reflect the resources that are available to the transport entity, since each TCEP_id in use represents a potential transport connection. The formal description assumes that there is a function in the TPE which can decide, on the basis of current resource availability, whether or not to issue a TCEP_id for any connection request received. If the TCEP_id is issued, then resources are allocated for the connection endpoint. However, there is a somewhat different problem for the users of transport. Here, the transport entity must somehow inform the session entity as to the TCEP_ids available at a given TSAP.

In the formal description, a T-CONNECT-request is permitted to enter at any TSAP/TCEP_id. A function in the TPE considers whether or not resources are availble to support the requested connection. There is also a function which checks to see if a TSAP/TCEP_id is busy by seeing if there is a TPM allocated to it. But this function is not useful to the session entity which does not have access to the transport entity's operations. This description of the procedure is clearly too loose for an implementation.

One solution to this problem is to provide a new (abstract) service, T-REGISTER, locally, at the interface between transport and session.


| Primitives Parameters | || | T-REGISTER request | Session process identifier | ||____________________________| | T-REGISTER indication | Transport endpoint identifier,| | | Session process identifier | ||| | T-REGISTER refusal | Session process identifier | ||_____________________________|

This service is used as follows:

 1)   A session process is identified to the transport entity by a
T-REGISTER-request event. If a TCEP_id is available, the
transport entity selects a TCEP_id and places it into a table
corresponding to the TSAP at which the T-REGISTER-request
event occurred, along with the session process identifier. The
TCEP_id and the session process identifier are then
transmitted to the session entity by means of the T-REGISTER-
indication event. If no TCEP_id is available, then a T-
REGISTER-refusal event carrying the session process identifier
is returned. At any time that an assigned TCEP_id is not
associated with an active transport connection process
(allocated TPM), the transport entity can issue a T-REGISTER-

McCoy [Page 43]

RFC 1008 June 1987

      refusal to the session entity to indicate, for example, that
      resources are no longer available to support a connection,
      since TC resources are not allocated at registration time.

 2)   If the session entity is to initiate the transport connection,
      it issues a T-CONNECT-request with the TCEP_id as a parameter.
      (Note that this procedure is at a slight variance to the
      procedure in N3756, which specifies no such parameter, due to
      the requirement of alignment of the formal description with
      the service description of transport and the definition of the
      session protocol.) If the session entity is expecting a
      connection request from a remote peer at this TSAP, then the
      transport does nothing with the TCEP_id until a CR TPDU
      addressed to the TSAP arrives.  When such a CR TPDU arrives,
      the transport entity issues a T-CONNECT-indication to the
      session entity with a TCEP_id as a parameter.  As a management
      aid, the table entry for the TCEP_id can be marked "busy" when
      the TCEP_id is associated with an allocated TPM.

 3)   If a CR TPDU is received and no TCEP_id is in the table for
      the TSAP addressed, then the transport selects a TCEP_id,
      includes it as a parameter in the T-CONNECT-indication sent to
      the session entity, and places it in the table. The T-
      CONNECT-response returned by the session entity will carry the
      TCEP_id and the session process identifier.  If the session
      process identifier is already in the table, the new one is
      discarded; otherwise it is placed into the table. This
      procedure is also followed if the table has entries but they
      are all marked busy or are empty.  If the table is full and
      all entries ar marked busy, then the transport entity
      transmits a DR TPDU to the peer transport entity to indicate
      that the connection cannot be made.  Note that the transport
      entity can disable a TSAP by marking all its table entries
      busy.

The realization of the T-REGISTER service will depend on the IPC mechanisms available between the transport and session entities. The problem of user process rendezvous is solved in general by the T- REGISTER service, which is based on a solution proposed by Michael Chernik of the NBS [CHK85].