Returns the address of the software loopback interface structure.
#include <sys/types.h>
#include <sys/errno.h>
struct ifnet *loifp ()
The loifp kernel service returns the address of the ifnet structure associated with the software loopback interface. The interface address can be used to examine the interface flags. This address can also be used to determine whether the looutput kernel service can be called to send a packet through the loopback interface.
The loifp kernel service can be called from either the process or interrupt environment.
The loifp service returns the address of the ifnet structure describing the software loopback interface.