|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.12.0.1
|
Enumerations | |
| enum | OPEN_MIB_DIFFSERV_IF_DIRECTION_t { OPEN_MIB_DIFFSERV_IF_DIRECTION_NONE = 0, OPEN_MIB_DIFFSERV_IF_DIRECTION_IN, OPEN_MIB_DIFFSERV_IF_DIRECTION_OUT } |
| DiffServ Interface Direction type. More... | |
| enum | OPEN_MIB_DIFFSERV_IF_OPER_STATUS_t { OPEN_MIB_DIFFSERV_IF_OPER_STATUS_NONE = 0, OPEN_MIB_DIFFSERV_IF_OPER_STATUS_UP, OPEN_MIB_DIFFSERV_IF_OPER_STATUS_DOWN } |
| DiffServ Interface Operational Status type. More... | |
| enum | OPEN_MIB_DIFFSERV_ROW_STATUS_t { OPEN_MIB_DIFFSERV_ROW_STATUS_NONE = 0, OPEN_MIB_DIFFSERV_ROW_STATUS_ACTIVE, OPEN_MIB_DIFFSERV_ROW_STATUS_NOT_IN_SERVICE, OPEN_MIB_DIFFSERV_ROW_STATUS_NOT_READY, OPEN_MIB_DIFFSERV_ROW_STATUS_CREATE_AND_GO, OPEN_MIB_DIFFSERV_ROW_STATUS_CREATE_AND_WAIT, OPEN_MIB_DIFFSERV_ROW_STATUS_DESTROY } |
| Enumerated values for RowStatus object. More... | |
Functions | |
| open_error_t | openapiDiffServIsAclIntfInUse (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, OPEN_BOOL_t *pIsAclIntfInUse) |
| Check if the specified internal interface number is in use by the ACL component. More... | |
| open_error_t | openapiDiffServPolicyPerfInDiscardedPacketsGet (openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t intIfNum, uint64_t *pPacktCount) |
| Get the inbound discarded packet count for the specified policy class instance. More... | |
| open_error_t | openapiDiffServPolicyPerfInOfferedPacketsGet (openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t intIfNum, uint64_t *pPacktCount) |
| Get the inbound offered packets count for the specified policy class instance. More... | |
| open_error_t | openapiDiffServPolicyPerfOutDiscardedPacketsGet (openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t intIfNum, uint64_t *pPacktCount) |
| Get the outbound discarded packet count for the specified policy class instance. More... | |
| open_error_t | openapiDiffServPolicyPerfOutOfferedPacketsGet (openapiClientHandle_t *client_handle, uint32_t policyIndex, uint32_t policyInstIndex, uint32_t intIfNum, uint64_t *pPacktCount) |
| Get the outbound offered packets count for the specified policy class instance. More... | |
| open_error_t | openapiDiffServServiceCreate (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, OPEN_BOOL_t activateRow) |
| Create a new row in the Service Table for the specified interface and direction. More... | |
| open_error_t | openapiDiffServServiceDelete (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir) |
| Delete a row from the Service Table for the specified interface and direction. More... | |
| open_error_t | openapiDiffServServiceGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir) |
| Gets a row from the Service Table for the specified interface and direction. More... | |
| open_error_t | openapiDiffServServiceGetNext (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, uint32_t *pNxtIntIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t *pNxtIfDir) |
| Determine next sequential row in the Service Table. More... | |
| open_error_t | openapiDiffServServiceIfOperStatusGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, OPEN_MIB_DIFFSERV_IF_OPER_STATUS_t *pIfOperStatus) |
| Get the service interface operational status for the specified Service Table row. More... | |
| open_error_t | openapiDiffServServicePolicyIndexGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, uint32_t *pPolicyIndex) |
| Get the policy index attached to the specified interface and direction. More... | |
| open_error_t | openapiDiffServServicePolicyIndexSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, uint32_t policyIndex) |
| Set the policy index attached to the specified interface and direction. More... | |
| open_error_t | openapiDiffServServiceRowStatusGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, OPEN_MIB_DIFFSERV_ROW_STATUS_t *pStatus) |
| Get the current status for the specified Service Table row. More... | |
| open_error_t | openapiDiffServServiceRowStatusSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, OPEN_MIB_DIFFSERV_ROW_STATUS_t status) |
| Set the given status for the specified Service Table row. More... | |
| open_error_t | openapiDiffServServiceRowStatusVerify (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MIB_DIFFSERV_IF_DIRECTION_t ifDir, OPEN_MIB_DIFFSERV_ROW_STATUS_t status) |
| Verifies the current status for the specified Service Table row. More... | |
DiffServ Interface Direction type.
| Enumerator | |
|---|---|
| OPEN_MIB_DIFFSERV_IF_DIRECTION_IN |
Interface direction type IN. |
| OPEN_MIB_DIFFSERV_IF_DIRECTION_OUT |
Interface direction type OUT. |
Definition at line 44 of file openapi_diffserv_service.h.
DiffServ Interface Operational Status type.
Definition at line 52 of file openapi_diffserv_service.h.
Enumerated values for RowStatus object.
Definition at line 60 of file openapi_diffserv_service.h.
| open_error_t openapiDiffServIsAclIntfInUse | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| OPEN_BOOL_t * | pIsAclIntfInUse | ||
| ) |
Check if the specified internal interface number is in use by the ACL component.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [out] | pIsAclIntfInUse | status of interface number in use by the ACL component |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServPolicyPerfInDiscardedPacketsGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | policyIndex, | ||
| uint32_t | policyInstIndex, | ||
| uint32_t | intIfNum, | ||
| uint64_t * | pPacktCount | ||
| ) |
Get the inbound discarded packet count for the specified policy class instance.
| [in] | client_handle | client handle from registration API |
| [in] | policyIndex | Policy index |
| [in] | policyInstIndex | Policy instance index |
| [in] | intIfNum | Internal interface number |
| [out] | pPacktCount | Packet count |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServPolicyPerfInOfferedPacketsGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | policyIndex, | ||
| uint32_t | policyInstIndex, | ||
| uint32_t | intIfNum, | ||
| uint64_t * | pPacktCount | ||
| ) |
Get the inbound offered packets count for the specified policy class instance.
| [in] | client_handle | client handle from registration API |
| [in] | policyIndex | Policy index |
| [in] | policyInstIndex | Policy instance index |
| [in] | intIfNum | Internal interface number |
| [out] | pPacktCount | Packet count |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServPolicyPerfOutDiscardedPacketsGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | policyIndex, | ||
| uint32_t | policyInstIndex, | ||
| uint32_t | intIfNum, | ||
| uint64_t * | pPacktCount | ||
| ) |
Get the outbound discarded packet count for the specified policy class instance.
| [in] | client_handle | client handle from registration API |
| [in] | policyIndex | Policy index |
| [in] | policyInstIndex | Policy instance index |
| [in] | intIfNum | Internal interface number |
| [out] | pPacktCount | Packet count |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServPolicyPerfOutOfferedPacketsGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | policyIndex, | ||
| uint32_t | policyInstIndex, | ||
| uint32_t | intIfNum, | ||
| uint64_t * | pPacktCount | ||
| ) |
Get the outbound offered packets count for the specified policy class instance.
| [in] | client_handle | client handle from registration API |
| [in] | policyIndex | Policy index |
| [in] | policyInstIndex | Policy instance index |
| [in] | intIfNum | Internal interface number |
| [out] | pPacktCount | Packet count |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceCreate | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| OPEN_BOOL_t | activateRow | ||
| ) |
Create a new row in the Service Table for the specified interface and direction.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [in] | activateRow | Activate row when value is TRUE |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_EXISTS | Already configured. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceDelete | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir | ||
| ) |
Delete a row from the Service Table for the specified interface and direction.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir | ||
| ) |
Gets a row from the Service Table for the specified interface and direction.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceGetNext | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| uint32_t * | pNxtIntIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t * | pNxtIfDir | ||
| ) |
Determine next sequential row in the Service Table.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [out] | pNxtIntIfNum | Next sequential internal interface number |
| [out] | pNxtIfDir | Next sequential interface direction |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceIfOperStatusGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| OPEN_MIB_DIFFSERV_IF_OPER_STATUS_t * | pIfOperStatus | ||
| ) |
Get the service interface operational status for the specified Service Table row.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [out] | pIfOperStatus | Interface operational status |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServicePolicyIndexGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| uint32_t * | pPolicyIndex | ||
| ) |
Get the policy index attached to the specified interface and direction.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [out] | pPolicyIndex | Policy index |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServicePolicyIndexSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| uint32_t | policyIndex | ||
| ) |
Set the policy index attached to the specified interface and direction.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [in] | policyIndex | Policy index |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceRowStatusGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| OPEN_MIB_DIFFSERV_ROW_STATUS_t * | pStatus | ||
| ) |
Get the current status for the specified Service Table row.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [out] | pStatus | Row status value |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceRowStatusSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| OPEN_MIB_DIFFSERV_ROW_STATUS_t | status | ||
| ) |
Set the given status for the specified Service Table row.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [in] | status | Row status value |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26
| open_error_t openapiDiffServServiceRowStatusVerify | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_MIB_DIFFSERV_IF_DIRECTION_t | ifDir, | ||
| OPEN_MIB_DIFFSERV_ROW_STATUS_t | status | ||
| ) |
Verifies the current status for the specified Service Table row.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | Internal interface number |
| [in] | ifDir | Interface direction |
| [in] | status | Row status value |
| OPEN_E_UNAVAIL | Operation unsupported. |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.26