HP X.25/9000 Programmer's Guide
118 AppendixA
X.25 Packet Formats
CALL ACCEPTED/CONNECTED Packet
The X.25 subsystem computes this field from the information supplied in
the CALL REQUEST packet.
Facilities (Length) Optional. Indicates the facilities used for this VC.
To read this field on an incoming packet:
This field can be read using ioctl(X25_RD_FACILITIES).
To write this field on an outgoing packet:
Use ioctl(X25_WR_FACILITIES) prior to issuing an
ioctl(X25_SEND_CALL_ACEPT) call. An ioctl(X25_ACPT_APPROVAL)
call must first be issued on the listen socket. Applications cannot control
the access to the facilities field if the call accept packet is generated
using the accept() system call.
Call User Data Optional. Contains application defined data.
To read this field on an incoming packet:
Use ioctl(X25_RD_USER_DATA) to read this field.
To write this field on an outgoing packet:
The application must be controlling call acceptance. Use
ioctl(X25_WR_USER_DATA) prior to issuing an
ioctl(X25_SEND_CALL_ACEPT)call. ioctl(X25_ACPT_APPROVAL) must
first be issued on the listen socket. Applications cannot control the access
to the call user data field, if the call accept packet is generated using the
accept() system call.
36960-90061.bk Page 118 Friday, November 10, 2000 3:42 PM










