Establishes a session with the Ethernet device handler.
The CIO_START operation establishes a session with the Ethernet device handler. The caller notifies the device handler of the network ID that it will use. The caller can issue multiple CIO_START operations. For each successful start issued, there should be a corresponding CIO_HALT operation issued.
If the CIO_START operation is the first issued, the device handler initializes and opens the Ethernet adapter. When the first CIO_START operation successfully completes, the adapter is ready to transmit and receive data. The Ethernet adapter can receive the following packet types:
The Ethernet device handler allows a maximum of 32 network IDs. The network ID must correspond to the type field in a standard Ethernet packet or the destination service access point (DSAP) address in an IEEE 802.3 packet.
For the CIO_START operation, the arg parameter points to a session_blk structure. This structure is defined in the /usr/include/sys/comio.h file and contains the following fields:
After the CIO_START operation has successfully completed, the caller is free to issue any valid Ethernet command.
Note: The Ethernet device handler does not support indiscriminate addressing.
A CIO_START operation can be called from the process environment only.
The return codes for the CIO_START operation are the following:
The CIO_START operation functions with an Ethernet High-Performance LAN adapter that has been correctly configured for use on a qualified network. Consult the adapter specifications for more information on configuring the network adapter and network qualifications.
The CIO_HALT entioctl Ethernet Device Handler Operation.
The entioctl entry point.
Common Communications Status and Exception Codes in AIX Kernel Extensions and Device Support Programming Concepts.