modlstrmod(9S)
NAME
modlstrmod − linkage structure for loadable streams modules
SYNOPSIS
#include <sys/modctl.h>
DESCRIPTION
The modlstrmod is used with loadable streams modules to provide module specific information to the loadable modules system.
strmod_modops Is always initialized to mod_strmodops for loadable streams modules. This identifies the module as a loadable streams module.
strmod_linkinfo Can be any string up to MODMAXNAMELEN , and is used to describe the module, for example, embed a version number.
strmod_fmodsw 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.
STRUCTURE MEMBERS
| struct mod_ops | ∗strmod_modops; |
| char | ∗strmod_linkinfo; |
| struct fmodsw | ∗strmod_fmodsw; |
SEE ALSO
SunOS 5.1 — Last change: 16 May 1991