Kernel functions net_inject_alloc(9F) NAME net_inject_alloc - allocate a net_inject_t structure SYNOPSIS #include net_inject_t *net_inject_alloc(const int version); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS version must always be the symbol NETI_VERSION. DESCRIPTION This function allocates a net_inject_t structure, returning a pointer for the caller to use. RETURN VALUES If the call fails, NULL is returned, otherwise, a pointer to a net_inject_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_inject_t(9s) net_inject_free(9f) SunOS 5.11 Last change: 25 March 2008 1