loifp Kernel Service
Purpose
Returns the address of the software loopback interface structure.
Syntax
#include <sys/types.h>
#include <sys/errno.h>
struct ifnet *loifp ()
Description
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.
Execution Environment
The loifp kernel service can be called from either the process or interrupt environment.
Return Values
The loifp service returns the address of the ifnet structure describing the software loopback interface.