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

schednetisr Kernel Service

Purpose

Schedules or invokes a network software interrupt service routine.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <net/netisr.h>
int schednetisr (anisr)
int anisr;

Parameter

anisr Specifies the software interrupt number to issue.

Description

The schednetisr kernel service schedules or calls a network interrupt service routine. The add_netisr kernel service establishes interrupt service routines. If the service was added with a service level of NET_OFF_LEVEL, the schednetisr kernel service directly calls the interrupt service routine. If the service level was NET_KPROC, a network kernel dispatcher is notified to call the interrupt service routine.

Execution Environment

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

Return Values

EFAULT Indicates that a network interrupt service routine does not exist for the specified interrupt number.
EINVAL Indicates that the anisr parameter is out of range.

Implementation Specifics

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

Related Information

The add_netisr kernel service, del_netisr kernel service.

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


[ Previous | Next | Contents | Home | Search ]