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

rtalloc Kernel Service

Purpose

Allocates a route.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <net/route.h>
void rtalloc (ro)
register struct route *ro;

Parameter

ro Specifies the route.

Description

The rtalloc kernel service allocates a route, which consists of a destination address and a reference to a routing entry.

Execution Environment

The rtalloc kernel service can be called from either the process or interrupt environment.

Return Values

The rtalloc service has no return values.

Example

To allocate a route, invoke the rtalloc kernel service as follows:

rtalloc(ro);

Implementation Specifics

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

Related Information

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


[ Previous | Next | Contents | Home | Search ]