Using the HP-UX IPQoS API

Policy ObjectsPolicy Objects

Policy objects define actions to perform on classes of traffic attached to the policy. A policy must have one or more unique filters attached to it. It is these filters which determine which classes of traffic the policy will govern. A policy is effectively ignored if it is not attached to any adapter.

Policy-related functions in the HP-UX IPQoS API allow programmers to create policies, assign (“set”) and access (“get”) values of their attributes, associate them with adapters, and traverse their filters’ lists.

Table 2-2 lists the attributes associated with policy objects.

Table 2-2

Attributes Associated with Policy Objects

 

 

Object Type

Attributes

 

 

 

Policy

 

unique name

 

 

reservation bandwidth

 

 

maximum bandwidth

 

 

DSCP

 

 

VLAN priority

 

 

status

 

 

 

32

Chapter 2