Adds a network interface to the network interface list.
#include <sys/types.h> #include <sys/errno.h> #include <net/if.h>
if_attach (ifp) struct ifnet *ifp;
ifp | Points to the interface network (ifnet) structure that defines the network interface. |
The if_attach kernel service registers a Network Interface Driver (NID) in the network interface list.
The if_attach kernel service can be called from either the process or interrupt environment.
The if_attach kernel service has no return values.
The if_attach kernel service is part of Base Operating System (BOS) Runtime.
The if_detach kernel service.
Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.