Kernel Functions for Drivers netinstanceregister(9F)
NAME
netinstanceregister - register a set of instances to occur
with IP instance events
SYNOPSIS
#include
int netinstanceregister(netinstancet *instances);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
instances must be a pointer returned by
netinstancealloc(9F).
DESCRIPTION
The netinstanceregister() function attempts to record the
set of functions passed by instances that are to be called
when an event related to IP instance maintenance occurs.
RETURN VALUES
If the netinstanceregister() function succeeds,
DISUCES is returned. Otherwise, DIFAILURE is returned
to indicate failure due to the name in the instance already
being present.
CONTEXT
The netinstanceregister() function may be called from user
or kernel context.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
Interface Stability Committed
SEE ALSO
netinstancealloc(9F), netinstanceunregister(9F), attri-
butes(5), netinstancet(9S)
SunOS 5.11 Last change: 1 May 2008 1
|