Adds a network software interrupt service to the Network Interrupt table.
#include <sys/types.h>
#include <sys/errno.h>
#include <net/netisr.h>
int
add_netisr ( soft_intr_level, service_level, isr)
u_short soft_intr_level;
u_short service_level;
int (*isr) ();
The add_netisr kernel service adds the software-interrupt level specified by the soft_intr_level parameter to the Network Software Interrupt table.
The processing level of a network software interrupt is specified by the service_level parameter. If the interrupt level specified by the service_level parameter equals NET_KPROC, a network interrupt scheduler calls the function specified by the isr parameter. If you set the service_level parameter to NET_OFF_LEVEL, the schednetisr service calls the interrupt service routine directly.
The add_netisr kernel service can be called from either the process or interrupt environment.
The del_netisr kernel service.
Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.