Overview
HP-UX IPQoS API Overview
HP-UX IPQoS API Overview
This section describes general overview information for using the
Programmatic Requirements
To use the
•have
•include the header file: #include <netinet/ipqos.h>
•link to the shared library libipqos.sl
IMPORTANT
IMPORTANT To use the
Structural Overview (How to Use the HP-UX IPQoS API)
The
Objects: Objects are pointers to opaque structures. There are three object types: filters, policies and adapters (IpqosFilter, IpqosPolicy, IpqosAdapter respectively). Filter objects and policy objects can be constructed (created, destroyed, attached, deleted and copied) by the programmer. The list of adapter objects is a fixed list that is built by the
All three types of objects have attributes that can be accessed (by using “get” type functions). Filter objects and policy objects can also be modified (using “set” type functions).
Lists: When policy or filter objects are part of an active configuration, they exist in a list. Each adapter object has an attached policy list and each policy object has an attached filter list. Adapter, policy and filter lists can be traversed by the programmer.
16 | Chapter 1 |