Adds an address family to the Address Family domain switch table.
domain | Specifies the domain of the address family. |
The add_domain_af kernel service adds an address family domain to the Address Family domain switch table.
The add_domain_af kernel service can be called from either the process or interrupt environment.
0 | Indicates that the address family was successfully added. |
EEXIST | Indicates that the address family was already added. |
EINVAL | Indicates that the address family number to be added is out of range. |
To add an address family to the Address Family domain switch table, invoke the add_domain_af kernel service as follows:
add_domain_af(&inetdomain);
In this example, the family to be added is inetdomain .
The add_domain_af kernel service is part of Base Operating System (BOS) Runtime.
The del_domain_af kernel service.
Network Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.