Schedules or invokes a network software interrupt service routine.
#include <sys/types.h> #include <sys/errno.h> #include <net/netisr.h>
int schednetisr (anisr) int anisr;
|anisr||Specifies the software interrupt number to issue.|
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.
The schednetisr kernel service can be called from either the process or interrupt environment.
|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.|
The schednetisr kernel service is part of Base Operating System (BOS) Runtime.
The add_netisr kernel service, del_netisr kernel service.
Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.