Returns I/O character information for an X.25 device.
The IOCINFO x25sioctl operation returns I/O character information for an X.25 device. The parameter block for this operation is defined in the /usr/include/sys/definfo.h file by the devinfo structure. This structure contains the following fields:
devtype | Identifies the type of device. This is set to the DD_X25 value (defined as the ASCII character x). |
flags | Undefined for X.25 devices. |
devsubtype | Undefined for X.25 devices. |
In addition to the above members, the /usr/include/sys/devinfo.h file also contains an x25 structure (found in the /usr/include/sys/x25user.h file). This structure defines the X.25 device and contains the following members:
PVC packet sizes are configured on a per-PVC basis. To determine the packet size on a PVC you can use either of the following operations:
The IOCINFO operation can be called from the process environment only.
A return code of -1 indicates an unsuccessful operation. The kernel sets the errno global variable to the following value:
EFAULT | Indicates an invalid address. |
The IOCINFO operation functions with an X.25 Interface Co-Processor/2 that has been correctly configured for use on a qualified network. Consult adapter specifications for more information on configuring the adapter and network qualifications.
The CIO_QUERY x25sioctl X.25 Device Handler Operation, CIO_START x25sioctl X.25 Device Handler Operation, X25_QUERY_SESSION x25sioctl X.25 Device Handler Operation.