Available only on Sun 386i systems running a SunOS 4.0.x release or earlier. Not a SunOS 4.1 release feature.
ipalloc() is the protocol for allocating the IP address that a system should use.
#include <rpcsvc/ipalloc.h>
The following RPC calls are available in version 2 of this protocol:
The first action taken on receipt of this RPC is to verify that no existing mapping between the etheraddr and the netnum exists in the Network Information Service (NIS) database. If one is found, then that is returned. Otherwise, an internal cache is checked, and if an entry is found there for the given etheraddr on the right network, that entry is used. If no address was found either in the NIS database or in the cache, a new one may be allocated and returned, and the ip_success status is returned.
If an unusable entry was found in the cache, this RPC returns ip_failure status.
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97