38 #ifndef OPENAPI_DIFFSERV_SERVICE_H_INCLUDED
39 #define OPENAPI_DIFFSERV_SERVICE_H_INCLUDED
46 OPEN_MIB_DIFFSERV_IF_DIRECTION_NONE = 0,
187 uint32_t *pNxtIntIfNum,
215 uint32_t policyIndex);
241 uint32_t *pPolicyIndex);
394 uint32_t policyIndex,
395 uint32_t policyInstIndex,
397 uint64_t *pPacktCount);
422 uint32_t policyIndex,
423 uint32_t policyInstIndex,
425 uint64_t *pPacktCount);
450 uint32_t policyIndex,
451 uint32_t policyInstIndex,
453 uint64_t *pPacktCount);
478 uint32_t policyIndex,
479 uint32_t policyInstIndex,
481 uint64_t *pPacktCount);
Interface operational status UP.
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.
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.
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.
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. ...
open_error_t
OPEN uses these enumerators to indicate the error codes.
OPEN_MIB_DIFFSERV_ROW_STATUS_t
Enumerated values for RowStatus object.
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.
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.
Interface operational status DOWN.
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.
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.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
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.
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.
Interface direction type OUT.
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.
OPEN_MIB_DIFFSERV_IF_DIRECTION_t
DiffServ Interface Direction type.
OPEN_MIB_DIFFSERV_IF_OPER_STATUS_t
DiffServ Interface Operational Status type.
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.
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.
Interface direction type IN.
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.
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.