Starts network IDs on a communications I/O device handler.
#include <sys/types.h> #include <sys/errno.h> #include <aixif/net_if.h> #include <sys/comio.h>
struct file *net_start (netfp, netid) struct file *netfp; struct netid_list *netid;
netfp | Specifies the file pointer of the device handler. |
netid | Specifies the address of the network ID list. |
The net_start kernel service starts all the network IDs listed in the list specified by the netid parameter. This service then waits for the asynchronous notification of completion of starts.
The net_start kernel service can be called from the process environment only.
The net_start service uses the return value returned from a call to the fp_ioctl service requesting the CIO_START operation.
ETIMEDOUT | Indicates that the start for at least one network ID timed out waiting for start-done notifications from the device handler. |
The net_start kernel service is part of Base Operating System (BOS) Runtime.
The fp_ioctl kernel service, net_attach kernel service, net_start_done kernel service,.
Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.