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

ns_del_status Network Service

Purpose

Deletes a previously added status filter.

Syntax

#include <sys/cdli.h>
#include <sys/ndd.h>
int ns_del_status (nddp, statfilter, len)
       struct ndd *nddp;
       caddr_t statfilter;
       int len;

Parameters

nddp Specifies the pointer to the ndd structure to which this delete request applies.
statfilter Specifies the pointer to the status filter.
len Specifies the length, in bytes, of the value of the statfilter parameter.

Description

The ns_del_status network service deletes a previously added status filter from the corresponding network demuxer. The delete request is passed on to the nd_del_status function of the demuxer for the specified network device driver (NDD). This network service disables asynchronous status notification from the specified device.

Examples

The following example illustrates the ns_del_status network service:

error = ns_add_status(nddp, &filter, 
sizeof(filter));

Return Values

0 Indicates the operation was successful.

The network demuxer may supply other return values.

Related Information

The ns_add_status network service.


[ Previous | Next | Contents | Home | Search ]