38 #ifndef OPENAPI_DIFFSERV_POLICY_H_INCLUDED
39 #define OPENAPI_DIFFSERV_POLICY_H_INCLUDED
43 #define OPEN_DIFFSERV_POLICY_NAME_MAX 31
44 #define OPEN_DIFFSERV_POLICY_NAME_MIN 1
143 uint32_t prevPolicyIndex,
144 uint32_t *pPolicyIndex);
166 uint32_t policyIndex,
185 uint32_t policyIndex,
209 uint32_t *pPolicyIndex);
235 uint32_t policyIndex);
253 uint32_t policyIndex,
292 uint32_t policyIndex,
336 uint32_t policyIndex,
357 uint32_t policyIndex,
390 uint32_t policyIndex,
391 uint32_t *pPolicyInstIndex);
418 uint32_t prevPolicyIndex,
419 uint32_t prevPolicyInstIndex,
420 uint32_t *pPolicyIndex,
421 uint32_t *pPolicyInstIndex);
444 uint32_t policyIndex,
445 uint32_t policyInstIndex,
446 uint32_t *pClassIndex);
469 uint32_t policyIndex,
470 uint32_t policyInstIndex,
471 uint32_t classIndex);
494 uint32_t policyIndex,
496 uint32_t *pPolicyInstIndex);
536 uint32_t policyIndex,
537 uint32_t policyInstIndex,
561 uint32_t policyIndex,
562 uint32_t policyInstIndex);
583 uint32_t policyIndex,
584 uint32_t policyInstIndex,
616 uint32_t *pPolicyIndex);
636 uint32_t policyIndex,
637 uint32_t policyInstIndex,
638 uint32_t policyAttrIndex,
659 uint32_t policyIndex,
660 uint32_t policyInstIndex,
661 uint32_t policyAttrIndex,
694 uint32_t policyIndex,
695 uint32_t policyInstIndex,
696 uint32_t *pPolicyAttrIndex);
720 uint32_t *pIndexMax);
742 uint32_t policyIndex,
743 uint32_t policyInstIndex,
744 uint32_t policyAttrIndex,
790 uint32_t policyIndex,
791 uint32_t policyInstIndex,
792 uint32_t policyAttrIndex,
831 uint32_t policyIndex,
832 uint32_t policyInstIndex,
833 uint32_t policyAttrIndex,
854 uint32_t policyIndex,
855 uint32_t policyInstIndex,
856 uint32_t policyAttrIndex);
910 uint32_t policyIndex,
911 uint32_t policyInstIndex,
912 uint32_t policyAttrIndex,
935 uint32_t policyIndex,
936 uint32_t policyInstIndex,
938 uint32_t *pPolicyAttrIndex) ;
967 uint32_t policyIndex,
968 uint32_t policyInstIndex,
969 uint32_t policyAttrIndex,
999 uint32_t policyIndex,
1000 uint32_t policyInstIndex,
1001 uint32_t policyAttrIndex,
1033 uint32_t policyIndex,
1034 uint32_t policyInstIndex,
1035 uint32_t policyAttrIndex,
1069 uint32_t policyIndex,
1070 uint32_t policyInstIndex,
1071 uint32_t policyAttrIndex,
1100 uint32_t policyIndex,
1101 uint32_t policyInstIndex,
1102 uint32_t policyAttrIndex,
1104 uint32_t *pRate_percent);
1130 uint32_t policyIndex,
1131 uint32_t policyInstIndex,
1132 uint32_t policyAttrIndex,
1159 uint32_t policyIndex,
1160 uint32_t policyInstIndex,
1161 uint32_t policyAttrIndex,
1190 uint32_t policyIndex,
1191 uint32_t policyInstIndex,
1192 uint32_t policyAttrIndex,
1220 uint32_t policyIndex,
1221 uint32_t policyInstIndex,
1222 uint32_t policyAttrIndex,
1252 uint32_t policyIndex,
1253 uint32_t policyInstIndex,
1254 uint32_t classIndex);
1278 uint32_t policyIndex,
1279 uint32_t policyInstIndex,
1280 uint32_t policyAttrIndex,
1314 uint32_t policyIndex,
1315 uint32_t policyInstIndex,
1316 uint32_t policyAttrIndex,
1317 uint32_t classIndex);
1339 uint32_t policyIndex,
1340 uint32_t policyInstIndex,
1341 uint32_t policyAttrIndex,
1342 uint32_t *pClassIndex);
1428 uint32_t policyIndex,
1429 uint32_t policyInstIndex,
1430 uint32_t policyAttrIndex,
1458 uint32_t policyIndex,
1459 uint32_t policyInstIndex,
1460 uint32_t policyAttrIndex,
1489 uint32_t policyIndex,
1490 uint32_t policyInstIndex,
1491 uint32_t policyAttrIndex,
1519 uint32_t policyIndex,
1520 uint32_t policyInstIndex,
1521 uint32_t policyAttrIndex,
1559 uint32_t prevPolicyIndex,
1560 uint32_t prevPolicyInstIndex,
1561 uint32_t prevPolicyAttrIndex,
1562 uint32_t *pPolicyIndex,
1563 uint32_t *pPolicyInstIndex,
1564 uint32_t *pPolicyAttrIndex);
1593 uint32_t policyIndex,
1594 uint32_t policyInstIndex,
1595 uint32_t policyAttrIndex,
1624 uint32_t policyIndex,
1625 uint32_t policyInstIndex,
1626 uint32_t policyAttrIndex,
1651 uint32_t policyIndex,
1652 uint32_t policyInstIndex,
1653 uint32_t policyAttrIndex,
1677 uint32_t policyIndex,
1678 uint32_t policyInstIndex,
1679 uint32_t policyAttrIndex,
1704 uint32_t policyIndex,
1705 uint32_t policyInstIndex,
1706 uint32_t policyAttrIndex,
1730 uint32_t policyIndex,
1731 uint32_t policyInstIndex,
1732 uint32_t policyAttrIndex,
1760 uint32_t policyIndex,
1761 uint32_t policyInstIndex,
1762 uint32_t policyAttrIndex,
1788 uint32_t policyIndex,
1789 uint32_t policyInstIndex,
1790 uint32_t policyAttrIndex,
1792 uint32_t *pRate_percent);
1816 uint32_t policyIndex,
1817 uint32_t policyInstIndex,
1818 uint32_t policyAttrIndex,
1843 uint32_t policyIndex,
1844 uint32_t policyInstIndex,
1845 uint32_t policyAttrIndex,
1879 uint32_t policyIndex,
1880 uint32_t policyInstIndex,
1881 uint32_t policyAttrIndex,
1882 uint32_t classIndex);
1913 uint32_t policyIndex,
1914 uint32_t policyInstIndex,
1915 uint32_t policyAttrIndex,
1916 uint32_t *pClassIndex);
open_error_t openapiDiffServPolicyTypeSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, OPEN_DIFFSERV_POLICY_TYPE_t policyType)
Set the type of policy definition.
open_error_t openapiDiffServPolicyAttrStmtPoliceBurstGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, OPEN_BURST_POLICE_TYPE_t burstType, uint32_t *burst)
Get the policing committed burst size attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtPoliceSimpleCrateGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *rate)
Get the simple policing committed rate attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtEntryTypeGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t *pEntryType)
Get the Policy Attribute statement entry type.
open_error_t openapiDiffServPolicyInstDelete(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex)
Delete a row from the Policy-Class Instance Table for the specified index.
open_error_t openapiDiffServPolicyAttrStmtPoliceConformValSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t value)
Set the policing conform value attribute statement value.
open_error_t openapiDiffServPolicyAttrCreate(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_BOOL_t activateRow)
Create a new row in the Policy Attribute Table for the specified index.
OPEN_DIFFSERV_STORAGE_TYPE_t
open_error_t openapiDiffServPolicyTypeGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, OPEN_DIFFSERV_POLICY_TYPE_t *pPolicyType)
Get the type of policy definition.
open_error_t openapiDiffServPolicyNameSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, open_buffdesc *bufd)
Set the policy name.
open_error_t openapiDiffServPolicyAttrStmtPoliceColorConformIndexGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *pClassIndex)
Get the policing color conform attribute class index value.
open_error_t openapiDiffServPolicyAttrStmtPoliceConformActGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICE_ACT_t *action)
Get the policing conform action attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtPoliceConformValGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *value)
Get the policing conform value attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtPoliceExceedActGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICE_ACT_t *action)
Get the policing exceed action attribute statement value.
open_error_t openapiDiffServPolicyInstClassIndexGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t *pClassIndex)
Get the class index referenced as the policy class instance.
open_error_t openapiDiffServPolicyInstCreate(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, OPEN_BOOL_t activateRow)
Create a new row in the Policy-Class Instance Table for the specified index.
open_error_t openapiDiffServPolicyDelete(openapiClientHandle_t *client_handle, uint32_t policyIndex)
Delete a row from the Policy Table for the specified index.
open_error_t openapiDiffServPolicyAttrStmtPoliceNonconformValSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t value)
Set the policing nonconform value attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtPoliceConformActSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICE_ACT_t action)
Set the policing conform action attribute statement value.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiDiffServPolicyAttrStmtPoliceDataRatePercentGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, uint32_t *pRate_percent)
Get the policing committed rate attribute statement value.
open_error_t openapiDiffServPolicyNameGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, open_buffdesc *bufd)
Get the policy name.
Tworate-Peak burst [1-128].
open_error_t openapiDiffServPolicyAttrStmtPoliceTworatePdataRateSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_RATE_UNIT_t rate_unit, uint32_t rate)
Set the two-rate policing peak rate attribute statement value as per unit.
open_error_t openapiDiffServPolicyAttrStmtPoliceColorExceedIndexSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t classIndex)
Set the policing color exceed attribute class index value.
open_error_t openapiDiffServPolicyInstRowStatusGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, OPEN_DIFFSERV_ROW_STATUS_t *pValue)
Get the current status of the specified Policy-Class Instance Table row.
OPEN_RATE_UNIT_t
OpEN uses this enumeration to define rate units.
open_error_t openapiDiffServPolicyAttrStmtPoliceColorConformValGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *pVal)
Get the policing color conform value attribute statement value.
OPEN_DIFFSERV_ROW_STATUS_t
open_error_t openapiDiffServPolicyRowStatusGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, OPEN_DIFFSERV_ROW_STATUS_t *pValue)
Get the current status of the specified Policy Table row.
open_error_t openapiDiffServPolicyAttrStmtPoliceTworateCrateSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t rate)
Set the two-rate policing committed rate attribute statement value.
open_error_t openapiDiffServPolicyInstIndexNext(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t *pPolicyInstIndex)
Obtain the next available index value to be used when creating a new row in the Policy-Class Instance...
open_error_t openapiDiffServPolicyAttrStmtPoliceNonconformValGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *value)
Get the policing nonconform value attribute statement value.
open_error_t openapiDiffServPolicyGetNext(openapiClientHandle_t *client_handle, uint32_t prevPolicyIndex, uint32_t *pPolicyIndex)
Determine next sequential row in the Policy Table.
open_error_t openapiDiffServPolicyAttrStmtPoliceExceedActSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICE_ACT_t action)
Set the policing exceed action attribute statement value.
OPEN_DIFFSERV_POLICY_ATTR_TYPE_t
Tworate-Commited burst [1-128].
open_error_t openapiDiffServPolicyAttrDelete(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex)
Delete a row from the Policy Attribute Table for the specified index.
open_error_t openapiDiffServPolicyAttrGetNext(openapiClientHandle_t *client_handle, uint32_t prevPolicyIndex, uint32_t prevPolicyInstIndex, uint32_t prevPolicyAttrIndex, uint32_t *pPolicyIndex, uint32_t *pPolicyInstIndex, uint32_t *pPolicyAttrIndex)
Determine next sequential row in the Policy Attribute Table.
open_error_t openapiDiffServPolicyAttrStmtPoliceExceedValSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t value)
Set the policing exceed value attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtPoliceBurstSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, OPEN_BURST_POLICE_TYPE_t burstType, uint32_t burst)
Set the policing committed burst size attribute statement value.
Simple-Commited burst [1-128].
open_error_t openapiDiffServPolicyAttrStmtEntryTypeDataSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, uint32_t data)
Set the Policy Attribute statement entry type and associated data.
open_error_t openapiDiffServPolicyCreate(openapiClientHandle_t *client_handle, uint32_t policyIndex, OPEN_BOOL_t activateRow)
Create a new row in the Policy Table for the specified index.
open_error_t openapiDiffServPolicyAttrStmtPoliceColorConformIndexSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t classIndex)
Set the policing color conform attribute class index value.
open_error_t openapiDiffServPolicyAttrStmtPoliceNonconformActGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICE_ACT_t *action)
Get the policing nonconform action attribute statement value.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiDiffServPolicyAttrStmtPoliceExceedValGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *pValue)
Get the policing exceed value attribute statement value.
OPEN_TCAM_POLICY_TYPE_t policyType
open_error_t openapiDiffServPolicyAttrStmtPoliceSimpleCrateSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t rate)
Set the simple policing committed rate attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtPoliceNonconformActSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICE_ACT_t action)
Set the policing nonconform action attribute statement value.
open_error_t openapiDiffServPolicyNameToIndex(openapiClientHandle_t *client_handle, open_buffdesc *stringPtr, uint32_t *pPolicyIndex)
Translate a policy name into its associated Policy Table index.
OPEN_DIFFSERV_POLICY_TYPE_t
open_error_t openapiDiffServPolicyInstClassIndexSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t classIndex)
Set the class index referenced as the policy class instance.
OPEN_MPLS_LFDB_ENTRY_TYPE_t entryType
Type of label.
open_error_t openapiDiffServPolicyAttrRowStatusGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_ROW_STATUS_t *pValue)
Get the current status of the specified Policy Attribute Table row.
Singlerate-Commited burst [1-128].
OPEN_DIFFSERV_POLICE_ACT_t
open_error_t openapiDiffServPolicyAttrStmtPoliceColorAwareClassValidate(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t classIndex)
Determine if a DiffServ class is valid for use as a policing color aware designation.
open_error_t openapiDiffServPolicyAttrStmtPolicePdataRatePercentGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, uint32_t *pRate_percent)
Get the policing peak rate attribute statement value.
open_error_t openapiDiffServPolicyAttrStorageTypeGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_STORAGE_TYPE_t *pValue)
Get the storage type for the specified Policy Attribute Table row.
open_error_t openapiDiffServPolicyAttrStmtPoliceTworateCrateGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *pRate)
Get the two-rate policing committed rate attribute statement value.
open_error_t openapiDiffServPolicyAttrIndexFind(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t inEntry, uint32_t *pPolicyAttrIndex)
Find the Policy Attribute index for the specified attribute.
open_error_t openapiDiffServPolicyAttrStmtPoliceTworatePrateSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t rate)
Set the two-rate policing peak rate attribute statement value.
open_error_t openapiDiffServPolicyAttrStmtPoliceDataRateSet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, OPEN_RATE_UNIT_t rate_unit, uint32_t rate)
Set the simple policing committed rate attribute statement value.
open_error_t openapiDiffServClassValidForPolicyCheck(openapiClientHandle_t *client_handle, uint32_t classIndex, uint32_t policyIndex)
Check if class definition is suitable for inclusion by specified policy.
open_error_t openapiDiffServPolicyAttrStmtPoliceTworatePrateGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *rate)
Get the two-rate policing peak rate attribute statement value.
open_error_t openapiDiffServPolicyAttrIndexMaxGet(openapiClientHandle_t *client_handle, uint32_t *pIndexMax)
Retrieve the maximum policy attribute index value allowed for the Policy Attribute Table...
Singlerate-Egress burst [1-128].
open_error_t openapiDiffServPolicyAttrStmtEntryDataGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, uint32_t *data)
Get the Policy Attribute statement entry associated data.
open_error_t openapiDiffServPolicyAttrIndexNext(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t *pPolicyAttrIndex)
Obtain the next available index value to be used when creating a new row in the Policy Attribute Tabl...
open_error_t openapiDiffServPolicyInstGetNext(openapiClientHandle_t *client_handle, uint32_t prevPolicyIndex, uint32_t prevPolicyInstIndex, uint32_t *pPolicyIndex, uint32_t *pPolicyInstIndex)
Determine next sequential row in the Policy-Class Instance Table.
open_error_t openapiDiffServPolicyAttrStmtPoliceColorExceedIndexGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, uint32_t *pClassIndex)
Get the policing color exceed attribute class index value.
open_error_t openapiDiffServPolicyIndexNext(openapiClientHandle_t *client_handle, uint32_t *pPolicyIndex)
Obtain the next available index value to be used when creating a new row in the Policy Table...
open_error_t openapiDiffServPolicyAttrStmtPoliceDataRateUnitGet(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t policyAttrIndex, OPEN_DIFFSERV_POLICY_ATTR_TYPE_t entryType, OPEN_RATE_UNIT_t *pRate_unit)
Get the policing committed rate unit attribute statement value.
open_error_t openapiDiffServPolicyInstIndexFromClass(openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t classIndex, uint32_t *pPolicyInstIndex)
Find the policy instance index from the policy and class indexes.