net_start Kernel Service

Purpose

Starts network IDs on a communications I/O device handler.

Syntax

#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;

Parameters

Item Description
netfp Specifies the file pointer of the device handler.
netid Specifies the address of the network ID list.

Description

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.

Execution Environment

The net_start kernel service can be called from the process environment only.

Return Values

The net_start service uses the return value returned from a call to the fp_ioctl service requesting the CIO_START operation.

Item Description
ETIMEDOUT Indicates that the start for at least one network ID timed out waiting for start-done notifications from the device handler.