Function Calls

Adapter-Related Function CallsAdapter-Related Function Calls

The following table lists the HP-UX IPQoS API function calls related to adapters. Refer to the IpqosAdapter (3c) manpage for detailed information on these functions.

Table A-2Adapter-Related Functions

 

 

 

Description

 

Function

 

 

get name of adapter

uint32_t IpqosGetAdapterName(IpqosAdapter adapter,

 

 

char ** name)

 

 

get speed of adapter

uint32_t IpqosGetAdapterSpeed(IpqosAdapter adapter,

 

 

uint64_t * speed)

 

 

get link type of adapter

uint32_t IpqosGetAdapterLinkType(IpqosAdapter

 

 

adapter, uint32_t * linkType)

 

 

get physical address of

uint32_t IpqosGetAdapterPhysAddr(IpqosAdapter

adapter

 

adapter, char ** physAddr)

 

 

get number of entries in

uint32_t IpqosGetAdapterListCount(uint32_t * count)

adapter list

 

 

 

 

 

get first entry in

 

uint32_t IpqosGetAdapterListHead(IpqosAdapter

adapter list

 

* adapter)

 

 

 

get next entry in

 

uint32_t IpqosGetAdapterListNext(IpqosAdapter

adapter list

 

* adapter)

 

 

get number of entries in

uint32_t IpqosGetPolicyListCount(IpqosAdapter

policy list of adapter

adapter, uint32_t * count)

 

 

get first entry of policy

uint32_t IpqosGetPolicyListHead(IpqosAdapter

list of adapter

 

adapter, IpqosPolicy * policy)

 

 

get next entry of policy

uint32_t IpqosGetPolicyListNext(IpqosAdapter

list of adapter

 

adapter, IpqosPolicy * policy)

 

 

 

Appendix A

41