Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Macros | Functions
openapi_cos_stats.h File Reference
#include <stdio.h>
#include <stddef.h>
#include <sys/un.h>
#include "openapi_common.h"
#include "openapi_instru_bst.h"

Go to the source code of this file.

Macros

#define OPEN_COS_ALL_QUEUES   0xffffffff
 read all queues, not just one
 

Functions

open_error_t openapiCosQueueCpuDropPacketsGet (openapiClientHandle_t *client_handle, uint32_t qIndex, open_buffdesc *data, uint32_t *count)
 Get the number of CPU packets dropped for a given CoS queue. More...
 
open_error_t openapiCosQueueCpuTxPacketsGet (openapiClientHandle_t *client_handle, uint32_t qIndex, open_buffdesc *data, uint32_t *count)
 Get the number of CPU packets tx for a given CoS queue. More...
 
open_error_t openapiCosQueueMcTxPacketsGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t qIndex, open_buffdesc *data, uint32_t *count)
 Get the number of MC packets tx for an interface and CoS queue. More...
 
open_error_t openapiCosQueueNumQueuesGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *count)
 Get the number of CoS queues per interface. More...
 
open_error_t openapiCosQueueUcTxPacketsGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t qIndex, open_buffdesc *data, uint32_t *count)
 Get the number of UC packets tx for an interface and CoS queue. More...