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;
Item | Description |
---|---|
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.
Item | Description |
---|---|
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.