|
|
Tasks associated with name-to-address mapping administration are performed using shell commands entered on the command line. Name-to-address mapping consists of routines for use by application programs. These routines (described on netdir(3N)) are used to obtain addresses of services on given hosts. All routines are combined into a library, one for each transport provider address management mechanism. The library to use for a specific transport provider is named in the /etc/netconfig file. A call to any of these routines by an application dynamically links the library named in the ``nametoaddr_libs'' field of the /etc/netconfig file.
The functions described on netdir(3N) take a pointer to a netconfig structure and returns a list of addresses of the service and host names over a given transport provider.
The following libraries provide the routines shown on netdir(3N):