HP X.25/9000 Programmer's Guide
130 AppendixA
X.25 Packet Formats
RESET CONFIRMATION Packet
RESET CONFIRMATION Packet
A RESET CONFIRMATION packet is automatically generated by the
subsystem when the application process reads the reset data (issues a
recv(MSG_OOB) system call).
Figure A-8 RESET CONFIRMATION packet
Access to the fields in the RESET CONFIRMATION 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
Contains the logical channel identifier. It is controlled by the subsystem.
It can be read with the ioctl(X25_RD_LCI) after the call has been
established.
Packet Type
Identifier
Indicates the kind of packet. X.25/800 automatically transmits this
packet in response to a RESET packet. Transmission cannot be
controlled by the application.
To read this field on an incoming packet:
In blocking mode, the ioctl(X25_RESET_VC) system call blocks until
confirmation is received. In nonblocking mode, recv(MSG_OOB) returns a
buffer the second byte of which (
buf[1]
) indicates that a RESET
CONFIRMATION packet has arrived (
OOB_VC_RESET_CONF
).
To write this field on an outgoing packet:
Logical Channel Identifier
87654321
1
2
3
4
Bits
Packet Type Identifier
General Format Identifier
Octets
Resetting Cause Code
Diagnostic Code
5
36960-90061.bk Page 130 Friday, November 10, 2000 3:42 PM










