[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

net_error Kernel Service

Purpose

Handles errors for communication network interface drivers.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <net/if.h>
#include <sys/comio.h>
net_error (ifp, error_code, netfp)
struct  ifnet *ifp;
int error_code;
struct  file *netfp;

Parameters

error_code Specifies the error code listed in the /usr/include/sys/comio.h file.
ifp Specifies the address of the ifnet structure for the device with an error.
netfp Specifies the file pointer for the device with an error.

Description

The net_error kernel service provides generic error handling for AIX communications network interface (if) drivers. Network interface (if) kernel extensions call this service to trace errors and, in some instances, perform error recovery.

Errors traced include those:

Execution Environment

The net_error kernel service can be called from either the process or interrupt environment.

Return Values

The net_error service has no return values.

Implementation Specifics

The net_error kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The net_attach kernel service, net_detach kernel service.

Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]