HP-UX IPQoS A.01.00 Programmer's Guide (October 2005)
Troubleshooting
General Tips
Chapter 336
General Tips
The following list provides basic information to be aware of when using the HP-UX IPQoS
API:
• To use the HP-UX IPQoS API:
— Programs must include the header file: #include <netinet/ipqos.h>
— Programs must link to the shared library libipqos.sl
— Programmer must have super-user (root) privileges
• For detailed syntax information refer to one or more of the following HP-UX IPQoS
manpages: IpqosAPI (3c), IpqosSession (3c), IpqosAdapter (3c), IpqosPolicy (3c),
IpqosFilter (3c), IpqosOverlapFilter (3c) and IpqosStats (3c).
• For a list of function return codes and their meaning, refer to Appendix B, “Return
Codes,” on page 49. Identify the cause of the error, and fix the problem accordingly.
• If appropriate, you can use ipqosadmin, the user-interface command utility provided with
HP-UX IPQoS, to obtain information about the configuration. Refer to the ipqosadmin
(1m) manpage for information on how to use ipqosadmin.
• You can continue to use the same general HP-UX networking utilities you typically use to
get useful information on the network. There is nothing new or different about using
these utilities when running and troubleshooting the HP-UX IPQoS API.
Some of the general networking utilities available include: netstat, ifconfig, syslog,
nettl, traceroute, route, ping, and lanadmin. Refer to the respective online manpages
for more information on how to use these utilities and how to interpret output from them.
Public domain utilities such as tcpdump and MRTP (multi-router traffic grapher) can also
provide helpful information about the network. HP includes the tcpdump utility as part of
the HP-UX Internet Express bundle, available on HP Software Depot, at
http://www.hp.com/go/softwaredepot.