HP-UX IPFilter Version A.03.05.14 Administrator's Guide
HP-UX IPFilter Static Linking
Static Linking
Appendix B178
Static Linking
IPFilter has two kernel modules, pfil, a streams module and ipf, a
WSIO pseudo driver. These are dynamically loadable kernel modules.
When IPFilter is installed on an HP-UX system using swinstall, these
two modules are loaded and configured as dynamically linked modules.
They can be loaded and unloaded when required without shutting down
the system as long as the modules are not currently in use.
Static Linking of HP-UX IPFilter on HP-UX 11i v1
As with any other DLKM modules for HP-UX 11i v1, these modules can
be statically linked to the kernel. Follow these steps to statically link the
IPFilter modules to the kernel:
1. Use the kmadmin command to find out if the modules have been
loaded dynamically. See the kmadmin (1M) manpage for usage
information. For example:
$ kmadmin -s
2. Use the kmsystem command to find the status of each module. See
the kmsystem (1M) manpage for more detail. For example:
$ kmsystem -q pfil
The output is similar for the ipf module. This output shows that the
pfil module is loadable.
Table B-1
Name ID Status Type
pfil 1 LOADED STREAMS
ipf 2 LOADED WSIO
Table B-2
Module Configured Loadable
pfil Y Y