HP X.25/9000 Programmer's Guide
Appendix A 129
X.25 Packet Formats
RESET REQUEST/INDICATION Packet
To read this field on an incoming packet:
recv(MSG_OOB) returns a buffer the third byte of which (
buf[2]
)
contains the resetting cause field.
To write this field on an outgoing packet:
Use an ioctl(X25_WR_CAUSE_DIAG) call before the
ioctl(X25_RESET_VC) call is issued.
Diagnostic Code Contains the diagnostic code for the RESET REQUEST/INDICATION
packet.
To read this field on an incoming packet:
recv(MSG_OOB) returns a buffer the fourth byte of which (
buf[3]
)
contains the resetting diagnostic code field.
To write this field on an outgoing packet:
Use an ioctl(X25_WR_CAUSE_DIAG) call before issuing the
ioctl(X25_RESET_VC) call.
36960-90061.bk Page 129 Friday, November 10, 2000 3:42 PM










