[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

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.

Implementation Specifics

The loifp kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The looutput kernel service.

Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]