Initiates a session with the token-ring device.
The CIO_START tokioctl operation initiates a session with the token-ring device handler. If the start is the first on the port, the device handler initializes and opens the token-ring adapter. For each successful CIO_START call issued, there should be a corresponding CIO_HALT operation issued.
After the CIO_START operation has successfully completed, the adapter is ready to transmit and receive data. The caller can issue any valid token-ring operation. Once started, the adapter receives packets that match the token-ring adapter's (hardware) address or the address specified in the device-dependent structure (DDS) and broadcast packets. No group or functional address is specified when the adapter is started.
The caller notifies the device handler which network ID to use. The network ID corresponds to the destination service access point (DSAP) in the token-ring packet. The caller can issue multiple CIO_START operations. For each adapter the token-ring device handler can handle from 0 to the number of network IDs specified by the TOK_MAX_NETIDS label. This label is defined in the /usr/include/sys/tokuser.h file.
For the CIO_START operation, the arg parameter points to the session_blk structure. This structure is defined in the /usr/include/sys/comio.h file and contains the following fields:
Note: The AIX token-ring device handler does not allow the caller to specify itself as the wild card network ID, which was allowed in AIX Version 2.
The CIO_START tokioctl operation can be called from the process environment only.
The CIO_START operation functions with a Token-Ring High Performance Network Adapter 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 ddioctl (CIO_START) operation.
The CIO_GET_STAT tokioctl Token-Ring Device Handler Operation, CIO_HALT tokioctl Token-Ring Device Handler Operation.
The tokioctl entry point.
Common Communications Status and Exception Codes in AIX Kernel Extensions and Device Support Programming Concepts.