Kernel functions net_instance_alloc(9F) NAME net_instance_alloc - allocate a net_instance_t structure SYNOPSIS #include net_instance_t *net_instance_alloc(const int version); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS version must always be the symbol HOOK_VERSION. DESCRIPTION This function allocates a net_instance_t structure, return- ing a pointer for the caller to use. RETURN VALUES If the call fails, NULL is returned, otherwise, a pointer to a net_instance_t structure is returned. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Committed | |_____________________________|_____________________________| SEE ALSO net_instance(9s) net_instance_free(9f) SunOS 5.11 Last change: 25 March 2008 1