HP-UX IPQoS A.01.00 Programmer's Guide (October 2005)
Overview
HP-UX IPQoS API Overview
Chapter 120
All return codes have a corresponding native-language string representation. The string
representation can be obtained from the uint32_t return code by calling the function:
const char * IpqosStrerror(uint32_t errCode);
The string representation is suitable for use in error messages.
See Appendix B, “Return Codes,” on page 49, for a list of return codes and their corresponding
mnemonics and message strings.
For more information on IpqosStrerror(), refer to the IpqosSession (3c) manpage.
Restoring Configurations to the Kernel after Reboot
The HP-UX IPQoS API maintains a configuration database that is synchronized with the
HP-UX IPQoS configuration loaded in the kernel modules. This allows the HP-UX IPQoS
subsystem to restore the last installed configuration whenever it is restarted.
Sample Program
A sample program, “htmldump” is included with HP-UX IPQoS. This purpose of this program
is to provide configuration information in an HTML output format. The “htmldump” program
can be found under the directory /opt/ipqos/examples. Also, see Appendix C, “Code
Example,” on page 53, for a pseudo-code sample that illustrates how to create a simple
configuration.