[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

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

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.

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

Related Information

The fp_ioctl kernel service, net_attach kernel service, net_start_done kernel service,.

Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]