Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.9.0.2
Welcome
ADK Documentation
API Reference
Files
File List
Globals
api
include
openapi_cos_stats.h
Go to the documentation of this file.
1
9
/*********************************************************************
10
*
11
* Copyright 2016-2018 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_cos_stats.h
28
*
29
* @purpose Switch Cosq Statistics
30
*
31
* @component OPEN
32
*
33
* @create 09/28/2016
34
*
35
* @end
36
*
37
**********************************************************************/
38
#ifndef OPENAPI_COS_STATS_H_INCLUDED
39
#define OPENAPI_COS_STATS_H_INCLUDED
40
41
#include <stdio.h>
42
#include <stddef.h>
43
#include <sys/un.h>
44
45
#include "
openapi_common.h
"
46
#include "
openapi_instru_bst.h
"
47
48
#define OPEN_COS_ALL_QUEUES 0xffffffff
51
/*****************************************************************/
65
open_error_t openapiCosQueueNumQueuesGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *count);
66
67
/*****************************************************************/
95
open_error_t
openapiCosQueueUcTxPacketsGet
(
openapiClientHandle_t
*client_handle, uint32_t intIfNum, uint32_t qIndex,
open_buffdesc
*data, uint32_t *count);
96
97
/*****************************************************************/
125
open_error_t
openapiCosQueueMcTxPacketsGet
(
openapiClientHandle_t
* client_handle, uint32_t intIfNum, uint32_t qIndex,
open_buffdesc
*data, uint32_t *count);
126
127
/*****************************************************************/
154
open_error_t
openapiCosQueueCpuTxPacketsGet
(
openapiClientHandle_t
* client_handle, uint32_t qIndex,
open_buffdesc
*data, uint32_t *count);
155
156
/*****************************************************************/
183
open_error_t
openapiCosQueueCpuDropPacketsGet
(
openapiClientHandle_t
* client_handle, uint32_t qIndex,
open_buffdesc
*data, uint32_t *count);
184
185
#endif
/* OPENAPI_COS_STATS_H_INCLUDED */
186
© 2022 by Broadcom. All rights reserved.