stream_statistics.h

Reference Documentation

product_line_custom
IntelĀ® PAC
Napatech SmartNIC
category
Reference Information
Napatech Software Suite: include/ntapi/stream_statistics.h File Reference
stream_statistics.h File Reference

Detailed Description

This is the header file of the statistics stream interface

Definition in file stream_statistics.h.

#include "ntapi/commontypes.h"

Go to the source code of this file.

Functions

int NT_StatOpen (NtStatStream_t *hStatStream, const char *name)
 Opens a statistics stream. More...
 
int NT_StatRead (NtStatStream_t hStatStream, NtStatistics_t *stat)
 Reads statistics. More...
 
int NT_StatClose (NtStatStream_t hStatStream)
 Closes a statistics stream. More...
 

Data Structures

struct  NtRMON1Counters_s
 
struct  NtExtendedRMONCounters_v1_s
 
struct  NtCheckSumCounters_s
 
struct  NtDecodeCounters_v1_s
 
struct  NtExtendedDropCounters_v1_s
 
struct  NtColorStatistics_s
 
struct  NtStatGroupColor_s
 
struct  NtStatGroupAdapter_s
 
struct  NtIpFragTableCounters_s
 
struct  NtPortStatistics_v2_s
 
struct  NtPortStatistics_v2_s::NtPortStatisticsValid_v2_s
 
struct  NtStatGroupport_v2_s
 
struct  NtStatGroupStream_s
 
struct  NtStatisticsQuery_v3_s
 
struct  NtStatisticsQuery_v3_s::NtStatisticsQueryResult_v3_s
 
struct  NtStatisticsQuery_v3_s::NtStatisticsQueryResult_v3_s::NtStatisticsQueryPortResult_v3_s
 
struct  NtStatisticsQuery_v3_s::NtStatisticsQueryResult_v3_s::NtStatisticsQueryAdapterResult_v3_s
 
struct  NtStatisticsUsageData_v0_s
 
struct  NtStatisticsUsageData_v0_s::NtStatUsageData_s
 
struct  NtStatisticsUsageData_v0_s::NtStatUsageData_s::NtStatHostBufferUsage_s
 
struct  NtStatisticsUsageData_v0_s::NtStatUsageData_s::NtStatHostBufferUsage_s::NtStatOnboardBufferingUsage_s
 
struct  NtStatisticsUsageData_v0_s::NtStatUsageData_s::NtStatHostBufferUsage_s::NtStatUsage_s
 
struct  NtStatisticsUsageData_v0_s::NtStatUsageData_s::NtStatHostBufferUsage_s::NtStatUsage_s::NtStatUsageRx_s
 
struct  NtStatisticsUsageData_v0_s::NtStatUsageData_s::NtStatHostBufferUsage_s::NtStatUsage_s::NtStatUsageDrop_s
 
struct  NtStatisticsFlowData_v0_s
 
struct  NtStatisticsFlowData_v1_s
 
struct  NtStatistics_s
 
union  NtStatistics_s::NtStatistics_u
 

Typedefs

typedef struct NtStatistics_s NtStatistics_t
 
typedef struct NtStatStream_s * NtStatStream_t
 

Enumerations

enum  NtStatisticsCmd_e {
  NT_STATISTICS_READ_CMD_UNKNOWN =0, NT_STATISTICS_READ_CMD_COMPAT_0, NT_STATISTICS_READ_CMD_COMPAT_1, NT_STATISTICS_READ_CMD_COMPAT_2,
  NT_STATISTICS_READ_CMD_QUERY_V3, NT_STATISTICS_READ_CMD_USAGE_DATA_V0, NT_STATISTICS_READ_CMD_FLOW_V0, NT_STATISTICS_READ_CMD_FLOW_V1
}