Using the HP-UX IPQoS API

Adapter ObjectsAdapter Objects

Adapter objects are not constructed by the programmer. Instead, every session contains a fixed list of adapter objects managed by the HP-UX IPQoS API based on the list of network adapters that have been configured on the system.

Adapter-related functions in the HP-UX IPQoS API allow programmers to access (“get”) values of its attributes, traverse the list of adapters, and traverse the list of policies of an adapter.

Table 2-3 lists the attributes associated with adapter objects.

Table 2-3

Attributes Associated with Adapter Objects

 

 

 

Object Type

Attributes

 

 

 

 

 

Adapter

 

unique name (PPA name)

 

 

 

transmission speed

 

 

 

link type

 

 

 

physical address

 

 

 

 

 

 

 

 

 

NOTE

In this release, the link type will always be DL_ETHER.

 

 

 

 

Chapter 2

33