Handles errors for communication network interface drivers.
#include <sys/types.h> #include <sys/errno.h> #include <net/if.h> #include <sys/comio.h>
net_error ( ifp, error_code, netfp)
struct ifnet *ifp;
int error_code;
struct file *netfp;
The net_error kernel service provides generic error handling for communications network interface (if) drivers. Network interface (if) kernel extensions call this service to trace errors and, in some instances, perform error recovery.
Errors traced include those:
The net_error kernel service can be called from either the process or interrupt environment.
The net_error service has no return values.
The net_attach kernel service, net_detach kernel service.
Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.