50 #ifndef OPENAPI_ETS_H_INCLUDED
51 #define OPENAPI_ETS_H_INCLUDED
55 #define OPEN_DOT1P_MIN_PRIORITY 0
56 #define OPEN_DOT1P_MAX_PRIORITY 7
58 #define OPEN_ETS_TCG_NUM_MIN 0
59 #define OPEN_ETS_TCG_NUM_MAX 7
61 #define OPEN_ETS_BW_PERCENTAGE_MIN 1
62 #define OPEN_ETS_BW_PERCENTAGE_MAX 100
80 uint32_t *incompatibleCfgCount);
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiEtsPeerIncompatibleCfgCountGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *incompatibleCfgCount)
Gets the count of incompatible configurations received from peer.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiEtsPeerNumTcGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t priority, uint8_t *numTc)
Gets the peer number of traffic class groups for the interface.
open_error_t openapiEtsPeerMinBandwidthGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t tcg, uint8_t *bw)
Gets the peer minimum bandwidth.
open_error_t openapiEtsPeerTsaGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t tcg, uint8_t *sched)
Gets the peer schedule info.
open_error_t openapiEtsPeerWillingGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *willing)
Get the willingness of the peer.
open_error_t openapiEtsPeerCbsStatusGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *cbsStatus)
Gets the cbs status received from peer.