Using the HP-UX IPQoS API

Using Lists

Deleting Policies and Filters (Detaching From a List)

To delete a policy or filter (and effectively detach it from the list) use the following functions:

IpqosDeletePolicy(), IpqosDeleteFilter().

If you want to delete all policies (and their associated filters) from an adapter there is a function to accomplish this task called IpqosDeleteAll(). This function has one argument, the adapter (IpqosAdapter). If you want to delete all policies (and their associated filters) from all adapters, specify NULL as the IpqosAdapter argument. In this case, the entire HP-UX IPQoS configuration is deleted, once the session is committed.

Chapter 2

29