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

del_netisr Kernel Service

Purpose

Deletes a network software interrupt service routine from the Network Interrupt table.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <net/netisr.h>
int del_netisr (soft_intr_level)
u_short soft_intr_level;

Parameter

soft_intr_level Specifies the software interrupt service to delete. The value of soft_intr_level should be greater than or equal to 0 and less than a value of NETISR_MAX3.

Description

The del_netisr kernel service deletes the network software interrupt service routine specified by the soft_intr_level parameter from the Network Software Interrupt table.

Execution Environment

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

Return Values

0 Indicates that the software interrupt service was successfully deleted.
ENOENT Indicates that the software interrupt service was not found in the Network Software Interrupt table.

Example

To delete a software interrupt service from the Network Software Interrupt table, invoke the kernel service as follows:

del_netisr(NETISR_IP);

In this example, the software interrupt routine to be deleted is NETISR_IP .

Implementation Specifics

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

Related Information

The add_netisr kernel service.

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


[ Previous | Next | Contents | Home | Search ]