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

Technical Reference: Kernel and Subsystems, Volume 1

ns_del_demux Network Service

Purpose

Deletes a demuxer for the specified type of network interface.

Syntax

#include <sys/ndd.h>


int ns_del_demux (ndd_type)
u_long ndd_type;

Parameters

ndd_type Specifies the network interface type of the demuxer that is to be deleted.

Description

If the demuxer is not currently in use, the ns_del_demux network service deletes the specified demuxer from the list of available network demuxers. A demuxer is in use if a network device driver (NDD) is open for the demuxer.

Examples

The following example illustrates the ns_del_demux network service:

ns_del_demux(NDD_ISO88023);

Return Values

0 Indicates the operation was successful.
ENOENT Indicates the demuxer of the specified type does not exist.

Related Information

The ns_add_demux network service.

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