Deletes a previously added status filter.
#include <sys/cdli.h>
#include <sys/ndd.h>
int ns_del_status (nddp, statfilter, len)
struct ndd * nddp;
caddr_t statfilter;
int len;
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. |
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.
The following example illustrates the ns_del_status network service:
error = ns_add_status(nddp, &filter,
sizeof(filter));
Item | Description |
---|---|
0 | Indicates the operation was successful. |
The network demuxer may supply other return values.