[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

del_domain_af Kernel Service

Purpose

Deletes an address family from the Address Family domain switch table.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/domain.h>
int 
del_domain_af (domain)
struct domain *domain;

Parameter

domain Specifies the address family.

Description

The del_domain_af kernel service deletes the address family specified by the domain parameter from the Address Family domain switch table.

Execution Environment

The del_domain_af kernel service can be called from either the process or interrupt environment.

Return Value

EINVAL Indicates that the specified address is not found in the Address Family domain switch table.

Example

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 .

Implementation Specifics

The del_domain_af kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The add_domain_af kernel service.

Network Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]