HP X.25/9000 Programmer's Guide
Appendix A 119
X.25 Packet Formats
CLEAR REQUEST/INDICATION Packet
CLEAR REQUEST/INDICATION Packet
A client process sends a CLEAR REQUEST/INDICATION packet to
terminate an SVC with a remote host. The subsystem sends a CLEAR
REQUEST/INDICATION packet when a close or shutdown() system call
is issued.
Figure A-3 CLEAR REQUEST Packet
Access to the fields in the CLEAR REQUEST/INDICATION packet is
described below:
General Format
Identifier
Indicates the packet sequence count (modulo 8 or modulo 128). This field
cannot be read or written by an X.25 application.
Logical Channel
Identifier
Controlled by the subsystem. It can be read using ioctl(X25_RD_LCI)
after the call has been established.
Logical Channel Identifier
Called DTE Address Length
DTE Addresses
Facilities
87654321
1
2
3
4
Bits
Called DTE Address Length
Facility Length
Packet Type Identifier
General Format Identifier
Octets
Clear User Data
Clearing Cause
Diagnostic Code
5
6
36960-90061.bk Page 119 Friday, November 10, 2000 3:42 PM










