#include <sys/types.h> #include <sys/errno.h> #include <net/route.h>
void rtalloc (ro) register struct route *ro;
ro | Specifies the route. |
The rtalloc kernel service allocates a route, which consists of a destination address and a reference to a routing entry.
The rtalloc kernel service can be called from either the process or interrupt environment.
The rtalloc service has no return values.
To allocate a route, invoke the rtalloc kernel service as follows:
rtalloc(ro);
The rtalloc kernel service is part of Base Operating System (BOS) Runtime.
Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.