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;
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));
0 | Indicates the operation was successful. |
The network demuxer may supply other return values.
The ns_add_status network service.