Skip Navigation Links | |
Exit Print View | |
man pages section 9: DDI and DKI Properties and Data Structures Oracle Solaris 11.1 Information Library |
- linkage structure for loadable STREAMS modules
#include <sys/modctl.h>
Solaris DDI specific (Solaris DDI)
The modlstrmod structure is used by STREAMS modules to export module specific information to the kernel.
struct mod_ops *strmod_modops; char *strmod_linkinfo; struct fmodsw *strmod_fmodsw;
Must always be initialized to the address of mod_strmodops. This identifies the module as a loadable STREAMS module.
Can be any string up to MODMAXNAMELEN, and is used to describe the module. This string is usually the name of the module, but can contain other information (such as a version number).
Is a pointer to a template of a class entry within the module that is copied to the kernel's class table when the module is loaded.