Deletes a network software interrupt service routine from the Network Interrupt table.
#include <sys/types.h> #include <sys/errno.h> #include <net/netisr.h>
int del_netisr (soft_intr_level) u_short soft_intr_level;
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. |
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.
The del_netisr kernel service can be called from either the process or interrupt environment.
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. |
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 .
The del_netisr kernel service is part of Base Operating System (BOS) Runtime.
The add_netisr kernel service.
Network Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.