[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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.

Related Information

The looutput kernel service.

Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]