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

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

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