Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Attributes | See Also
#include <sys/neti.h> net_inject_t *net_inject_alloc(const int version);
Solaris DDI specific (Solaris DDI).
The net_inject_alloc() function allocates a net_inject_t structure, returning a pointer for the caller to use.
Upon success, net_inject_alloc() returns a pointer to the allocated net_inject_t structure. On failure, hook_alloc() returns a NULL pointer.
The net_inject_alloc() function may be called from user, kernel, or interrupt context.
See attributes(5) for descriptions of the following attributes:
| 
 ATTRIBUTE TYPE  | 
 ATTRIBUTE VALUE  | 
|---|---|
| 
 Availability  | 
 SUNWcsu  | 
| 
 Interface Stability  | 
 Committed  | 
Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Attributes | See Also