|
ITU-X25 Packet layer - Packet types and formatCall request / Incoming call
Call accepted / Call connected
(a): These fields are not mandatory in the basic format of call accepted packets. (b): This field may be present only in the extended format. Clear request / Clear indication
(a): This field is not mandatory in the basic format of clear request packets . (b): Used only in the extended format Clearing cause field (CR/CI)Octet 4 is the clearing cause field and contains the reason for the clearing of the call. In the clear request packets, the clearing cause field should be set by the DTE to one of the following values, where each "x" may be independently set to 0 or 1 by the DTE.:
The DCE will prevent values of the clearing cause field other than those shown above from reaching the other end of the call by either accepting the clear request packet and forcing the clearing cause field to all zeros in the corresponding clear indication packet, or considering the clear request as an error and following the procedure described in Annex C (ITU). The coding of the clearing cause field in clear indication packets is given in Table 20/X.25 (ITU):
(a): When bit 8 is set to 1, the bits represented by Xs are those included by the remote DTE in the clearing or restarting cause field of the clear or restart request packet respectively. (b): May be received only if the corresponding optional user facility is used. (c): Used in the conjunction with mobile maritime service. Diagnostic code (CR/CI)Octet 5 is the diagnostic code and contains additional information on the reason for the clearing of the call. In a clear request packet, the diagnostic code is not mandatory. In a clear indication packet, if the clearing cause field indicates "DTE originated", the diagnostic code is passed unchanged from the clearing DTE. If the clearing DTE has not provided a diagnostic code in its clear request packet, then the bits of the diagnostic code in the resulting clear indication packet will all be zero. When a clear indication packet results from a restart request packet, the value of the diagnostic code will be that specified in the restart request packet, or all zeros in the case where no diagnostic code has been specified in the restart request packet. When the clearing cause field does not indicate "DTE originated", the diagnostic code in a clear indication packet is network generated. Annex E (ITU) lists the codings for network generated diagnostics. The bits of the diagnostic code are all set to 0 when no specific additional information for the clearing is supplied:
Note: The contents of the diagnostic code field do not alter the meaning of the cause field. A DTE is not required to undertake any action on the contents of the diagnostic code field. Unspecified code combinations in the diagnostic code field shall not cause the DTE to refuse the cause field. Clear confirmation (DTE and DCE)
(a): Used only in the extended format of DCE clear confirmation packets. The extended format may be used for DCE clear confirmation packets only in conjunction with the charging information facility described in § 6.22 Rec. X.25 (ITU). It is not used for DTE clear confirmation packet. DTE and DCE data
Numbering modulo 8
With following definitions:
Numbering modulo 128
With following definitions:
Interrupt (DTE and DCE)
Octet 4 and any following octets contain the interrupt user data. This field may contain from 1 to 32 octets. Note: Some networks require the interrupt user data field to contain an integral number of octets. Interrupt confirmation (DTE and DCE)
RR (DTE and DCE)
Numbering modulo 8
Numbering modulo 128
RNR (DTE and DCE)The format of the DTE and DCE RNR packets depends on the P(R) sequence numbering scheme: Numbering modulo 8
Numbering modulo 128
DTE REJ
Numbering modulo 8
Numbering modulo 128
P(R) - Packet receive sequence numberBits 8, 7 and 6 of octet 3, or bits 8 through 2 of octet 4 when extended, are used for indicating the packet receive sequence number P(R). P(R) is binary coded and bit 6, or bit 2 when extended, is the low order bit. Reset request / Reset indication
(a): This field is not mandatory in reset request packets. Resetting cause field (RR/RI)Octet 4 is the resetting cause field and contains the reason for the reset. In reset request packets, the resetting cause field should be set by the DTE to one of the following values, where each "x" may be independently set to 0 or 1 by the DTE.:
The DCE will prevent values of the resetting cause field, other than those shown above, from reaching the other end of the virtual call or permanent virtual circuit by either accepting the reset request packet and forcing the resetting cause field to all zeros in the corresponding reset indication packet, or considering the reset request as an error and following the procedure described in Annex C (ITU). The coding of the resetting cause field in a reset indication packet is given in Table 21/X.25 (ITU):
(a): When bit 8 is set to 1, the bits represented by Xs are those indicated by the remote DTE in the resetting cause field (virtual calls and permanent virtual circuits) or the restarting cause field (permanent virtual circuits only) of the reset or restart request packet, respectively. (b): Applicable to permanent virtual circuits only. Diagnostic code (RR/RI)Octet 5 is the diagnostic code and contains additional information on the reason for the reset. In a reset request packet the diagnostic code is not mandatory. In a reset indication packet, if the resetting cause field indicates "DTE originated", the diagnostic code has been passed unchanged from the resetting DTE. If the DTE requesting a reset has not provided a diagnostic code in its reset request packet, then the bits of the diagnostic code in the resulting reset indication packet will all be zeros. When a reset indication packet results from a restart request packet, the value of the diagnostic code will be that specified in the restart request packet, or all zeros in the case where no diagnostic code has been specified in the restart request packet. When the resetting cause field does not indicate "DTE originated", the diagnostic code in a reset indication packet is network generated. Annex E (ITU) lists the codings for network generated diagnostics. The bits of the diagnostic code are all set to 0 when no specific additional information for the reset is supplied. Note: The contents of the diagnostic code field do not alter the meaning of the cause field. A DTE is not required to undertake any action on the contents of the diagnostic code field. Unspecified code combinations in the diagnostic code field shall not cause the DTE to not accept the cause field. Restart request / Restart indication
(a): This field is not mandatory in restart request packets. Restarting cause field (RaR/RaI)Octet 4 is the restarting cause field and contains the reason for the restart. In restart request packets, the restarting cause field should be set by the DTE to one of the following values, where each "x" be independently set to 0 or 1 by the DTE:
The DCE will prevent values of the restarting cause field, other than those shown above, from reaching the other end of the virtual calls and/or permanent virtual circuits by either accepting the restart request packet and forcing the clearing or resetting cause field to all zeros in the corresponding clear and/or reset indication packets, or considering the restart request as an error and following the procedure described in Annex C (ITU). The coding of the restarting cause field in the restart indication packets is given in Table 22/X.25 (ITU):
(a): May be received only if the optional on-line facility registration facility is used. Diagnostic code (RaR/RaI)Octet 5 is the diagnostic code and contains additional information on the reason for the restart. In a restart request packet, the diagnostic code is not mandatory. The diagnostic code, if specified, is passed to the corresponding DTEs as the diagnostic code of a reset indication packet for permanent virtual circuits or a clear indication packet for virtual calls. The coding of the diagnostic code field in a restart indication packet is given in Annex E (ITU). The bits of the diagnostic code are all set to zero when no specific additional information for the restart is supplied. Note: The contents of the diagnostic code field do not alter the meaning of the cause field. A DTE is not required to undertake any action on the contents of the diagnostic code field. Unspecified code combinations in the diagnostic code field shall not cause the DTE to not accept the cause field. Restart confirmation (DTE and DCE)
Diagnostic
Diagnostic code field (D)Octet 4 is the diagnostic code and contains information on the error condition which resulted in the transmission of the diagnostic packet. The coding of the diagnostic code field is given in Annex E (ITU). Diagnostic explanation field (D)When the diagnostic packet is issued as a result of the reception of an erroneous packet from the DTE (see Tables C-1/X.25 and C-2/X.25), this field contains the first three octets of header information from the erroneous DTE packet. If the packet contains less than 3 octets, this field contains whatever bits were received. When the diagnostic packet is issued as a result of a DCE time-out (see Table D-1/X.25), the diagnostic explanation field contains 2 octets coded as follows:
Registration request
Address length fields (RgR)Octet 4 consists of the field length indicators for the DTE and DCE addresses. Bits 4, 3, 2 and 1 indicate the length of the DCE address in semi-octets. Bits 8, 7, 6 and 5 indicate the length of the DTE address in semi-octets. Each address length indicator is binary coded and bit 1 or 5 is the low order bit of the indicator. These fields are coded with all zeros under the procedures in this Recommendation. Address field (RgR)Octet 5 and the following octets consist of the DCE address, when present, and the DTE address, when present. Each digit of an address is coded in a semi-octet in binary coded decimal with bit 5 or 1 being the low order bit of the digit. Starting from the high order digit, the address is coded in octet 5 and consecutive octets with two digits per octet. In each octet, the higher order digit is coded in bits 8, 7, 6 and 5. The address field shall be rounded up to an integral number of octets by inserting zeros in bits 4, 3, 2 and 1 of the last octet of the field when necessary. This field is not present under the procedures in this Recommendation. Registration length field (RgR)The octet following the address field indicates the length of the registration field in octets. The registration length indicator is binary coded and bit 1 is the low order bit of the indicator. Registration field (RgR)The registration field is present only when the DTE wishes to request the DCE to agree to, or to stop a previous agreement for, an optional user facility. The coding of the registration field is defined in § 7.3 Rec. X.25 (ITU). The registration field contains an integral number of octets. The actual maximum length of this field depends on the network. However, this maximum does not exceed 109 octets. Registration confirmation
Cause field (RgC)Octet 4 is the cause field and contains the cause of any failure in negotiation of facilities or an indication that the registration field was verified by the DCE. The coding of the cause field in the registration confirmation packet is shown in Table 23/X.25 (ITU):
Diagnostic code (RgC)Octet 5 is the diagnostic code and contains additional information on the reason for failure of facilities negotiation. Annex E (ITU) lists the coding for diagnostics. The bits of the diagnostic code are all set to 0 when negotiation is successful, or when no additional information is supplied. Address length fields (RgC)Octet 6 consists of the field length indicators for the DTE and DCE addresses. Bits 4, 3, 2 and 1 indicate the length of the DCE address in semi-octets. Bits 8, 7, 6 and 5 indicate the length of the DTE address in semi-octets. Each address length indicator is binary coded and bit 1 or 5 is the low order bit of the indicator. These fields are coded with all zeros under the procedures in this Recommendation. Address field (RgC)Octet 7 and the following octets consist of the DCE address, when present, and the DTE address, when present. Each digit of an address is coded in a semi-octet in binary coded decimal with bit 5 or 1 being the low order bit of the digit. Starting from the high order digit, the address is coded in octet 7 and consecutive octets with two digits per octet. In each octet, the higher order digit is coded in bits 8, 7, 6 and 5. The address field shall be rounded up to an integral number of octets by inserting zeros in bits 4, 3, 2 and 1 of the last octet of the field when necessary. This field is not present under the procedures in this Recommendation. Registration length field (RgC)The octet following the address field indicates the length of the registration field, in octets. The registration length indicator is binary coded and bit 1 is the low order bit of the indicator. Registration field (RgC)The registration field is used to indicate which optional user facilities are available, and which are currently in effect. The coding of the registration field is defined in § 7.3 Rec. X.25 (ITU). The registration field contains an integral number of octets. The actual maximum length of this field depends on the network. However, this maximum does not exceed 109 octets.
|
home Quick start Specifications Connections Features How to? Notes Search Site Map updated: 27-Feb-04 |