跳到主要内容

8.4-8.6 连接确认、断开请求与断开确认

8.4 连接确认(CC)​

8.4.1 结构​

1     2     3     4     5     6    7    8    p   p+1

LI CC CDT DST-REF SOURCE-REF class VARIABLE USER DATA
1101 options Part

8.4.2 LI​

见第 8.2.1 节。

8.4.3 固定部分(八位组 2 至 7)​

CC                      :          Connection Confirm
Code: 1101

CDT : Initial Credit
Allocation (set to
0000 in Classes 0
and 1).

DST-REFERENCE : Reference
identifying the
requested transport
connection at the
remote transport
entity.

SOURCE REFERENCE : Reference selected
by the transport
entity initiating
the CC TPDU to
identify the
confirmed TC.

CLASSES : Defines the selected
transport protocol class to
be operated over the accepted
TC according to the
negotiation rules specified
in Section 6.5.

8.4.4 可变部分(八位组 8 至 p)​

见第 8.3.4 节

8.4.5 用户数据(八位组 p+1 至末尾)​

见第 8.3.5 节

8.5 断开请求(DR)​

8.5.1 结构​

LI  DR        DST-REF   SOURCE-REF    REASON    VARIABLE  USER DATA
10000000 PART

8.5.2 LI​

见第 8.2.1 节

8.5.3 固定部分(八位组 2 至 7)​

DR                :      Disconnect Request Code:   1000

DST-REFERENCE : Reference identifying the TC at
the remote transport entity.

SOURCE REFERENCE : Reference identifying the TC at
the transport entity initiating
the command. Value zero when
reference is unassigned.

REASON : Defines the reason for
disconnecting the TC. This field
shall take one of the following
values:

The following values can be used
for class 1 to 4:

128 + 0 - Normal disconnect
initiated by session entity.

128 + 1 - Remote transport entity
congestion at connect request time

*128 + 2 - Connection negotiation failed
(i.e. proposed class(es) not supported).

128 + 3 - Duplicated connection detected

128 + 4 - Mismatched references

128 + 5 - Protocol error

128 + 6 - Not used

128 + 7 - Reference overflow

128 + 8 - Connection request refused on this
network connection

128 + 9 - Not used

128 + 10 - Header or parameter length invalid

The following values can be used for all classes.

0 - Reason not specified

1 - Congested at TSAP

*2 Session entity not attached to TSAP

*3 Address unknown

Note: Reasons marked with '*' may be reported to
the TS-user as 'persistent', other reasons
as 'transient'.

8.5.4 可变部分(八位组 8 至 10)​

  • 可以提供一个参数,用于携带与连接清除相关的附加信息。

    Parameter code:       11100000

    Parameter Value Field: Additional information. This
    field is intended to be used by the transport service
    provider for internal purposes.
  • 校验和(见 8.2.3.1)

8.5.5 用户数据(八位组 p+1 至末尾)​

0 类中不允许,

该字段不得超过 64 个八位组,用于携带 TS 用户数据。不保证这些数据能被成功传送。

8.6 断开确认(DC)​

(0 类中不使用)

8.6.1 结构​

1     2         3       4       5      6        7        p
LI DST-REFERENCE SOURCE-REFERENCE Variable Part
11000000

8.6.2 LI​

见第 8.2.1 节

8.6.3 固定部分(八位组 2 至 6)​

DC            :     Disconnect Confirm Code:  1100

DST-REFERENCE : See Section 8.3.3

SOURCE-REFERENCE: See Section 8.4.3

8.6.4 可变部分​

校验和(见 8.2.3.1)