Deletes an address family from the Address Family domain switch table.
#include <sys/types.h> #include <sys/errno.h> #include <sys/domain.h>
int del_domain_af (domain) struct domain *domain;
domain | Specifies the address family. |
The del_domain_af kernel service deletes the address family specified by the domain parameter from the Address Family domain switch table.
The del_domain_af kernel service can be called from either the process or interrupt environment.
EINVAL | Indicates that the specified address is not found in the Address Family domain switch table. |
To delete an address family from the Address Family domain switch table, invoke the del_domain_af kernel service as follows:
del_domain_af(&inetdomain);
In this example, the family to be deleted is inetdomain .
The del_domain_af kernel service is part of Base Operating System (BOS) Runtime.
The add_domain_af kernel service.
Network Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.