Provides the means to allocate and deallocate a channel into X.25 device handler.
int x25xmpx (devno, chan, channame) dev_t devno; int *chan; char *channame;
Note: This entry point is called by the kernel. It cannot be called directly by a user- or kernel-mode process.
The x25smpx entry point provides the means for allocating and deallocating a channel into the X.25 device handler. This entry point is called by the kernel in response to an open subroutine (before calling the x25sopen entry point) or in response to a close subroutine (after calling the x25sclose entry point).
An x25smpx entry point 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 one of the following values:
EINVAL | Indicates an invalid parameter was specified. |
EPERM | Indicates an open in the specified mode is denied. |
EBUSY | Indicates the device is already open in diagnostic, monitor, or router mode. |
The x25smpx entry point 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 x25sclose entry point, x25sopen entry point.
The close subroutine, open subroutine.
X.25 Device Handler Modes in AIX Kernel Extensions and Device Support Programming Concepts.