Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.13.1.2
Enumerations | Functions
openapi_diffserv_service.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

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...