Kernel Functions for Drivers net_instance_unregister(9F)
NAME
net_instance_unregister - disable a set of instances
SYNOPSIS
#include
void net_instance_unregister(net_instance_t *instances);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).PARAMETERS
instances must be a pointer returned bynet_instance_alloc(9F).
DESCRIPTION
The net_instance_unregister() function removes the set of
instances that were previously registered with thenet_instance_register() function.
RETURN VALUES
If the net_instance_unregister() function succeeds, 0 is
returned. Otherwise, an error indicating the problem encoun-
tered.CONTEXT
The net_instance_unregister() function may be called from
user, kernel, or interrupt context.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcs ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
SEE ALSO
net_instance_alloc(9F), net_instance_register(9F), attri-
butes(5), net_instance_t(9S)
SunOS 5.11 Last change: 1 May 2008 1