Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.12.0.1
openapi_diffserv_conf.h
Go to the documentation of this file.
1 
9 /**********************************************************************
10 *
11 * Copyright 2023 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 ***********************************************************************
26 *
27 * @filename openapi_diffservconf.h
28 *
29 * @purpose This code implements the OpEN Diff Serv configuration API
30 *
31 * @component OPEN
32 *
33 * @create 05/18/2023
34 *
35 * @end
36 *
37 *********************************************************************/
38 #ifndef OPENAPI_DIFFSERVCONF_H_INCLUDED
39 #define OPENAPI_DIFFSERVCONF_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
44 typedef enum
45 {
59  OPEN_DIFFSERV_GEN_STATUS_TABLE_TOTAL
61 
62 
63 /*************************************************************************/
81  OPEN_CONTROL_t mode);
82 
83 /*************************************************************************/
100  OPEN_CONTROL_t *pMode);
101 
102 /*************************************************************************/
121  uint32_t *pSize);
122 
123 #endif /* OPENAPI_DIFFSERVCONF_H_INCLUDED */
124 
open_error_t openapiDiffServGenAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *pMode)
Gets admin mode of DiffServ administrative.
open_error_t
OPEN uses these enumerators to indicate the error codes.
OPEN_DIFFSERV_GEN_STATUS_GROUP_OBJECT_t
Enumerated values for DiffServ General Status Group objects.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
Max policy-class instance tablesize.
open_error_t openapiDiffServGenTableSizeGet(openapiClientHandle_t *client_handle, OPEN_DIFFSERV_GEN_STATUS_GROUP_OBJECT_t diffTableGrpObj, uint32_t *pSize)
Get size of the given group Table.
open_error_t openapiDiffServGenAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Set the value of the DiffServ administrative mode.