ns_del_status Network Service
Purpose
Deletes a previously added status filter.
Syntax
#include <sys/cdli.h>
#include <sys/ndd.h>
Parameters
| Item | Description |
|---|---|
| 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
| Item | Description |
|---|---|
| 0 | Indicates the operation was successful. |
The network demuxer may supply other return values.