[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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.

Related Information

The add_domain_af kernel service.

Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]