OpenNSL API Guide and Reference Manual
Data Structures | Typedefs | Enumerations | Functions
statX.h File Reference
#include <opennsl/types.h>

Go to the source code of this file.

Data Structures

struct  opennsl_stat_group_mode_attr_selector_s
 Stat Flex Group Attribute Selector. More...
 

Typedefs

typedef struct
opennsl_stat_group_mode_attr_selector_s 
opennsl_stat_group_mode_attr_selector_t
 Stat Flex Group Attribute Selector.
 
typedef enum
opennsl_stat_group_mode_attr_e 
opennsl_stat_group_mode_attr_t
 Stat Group Mode Attribute Selectors.
 

Enumerations

enum  opennsl_stat_group_mode_attr_e {
  opennslStatGroupModeAttrColor = 1,
  opennslStatGroupModeAttrFieldIngressColor = 2,
  opennslStatGroupModeAttrIntPri = 3,
  opennslStatGroupModeAttrVlan = 4,
  opennslStatGroupModeAttrOuterPri = 5,
  opennslStatGroupModeAttrInnerPri = 6,
  opennslStatGroupModeAttrPort = 7,
  opennslStatGroupModeAttrTosDscp = 8,
  opennslStatGroupModeAttrPktType = 10,
  opennslStatGroupModeAttrIngNetworkGroup = 11,
  opennslStatGroupModeAttrDrop = 13,
  opennslStatGroupModeAttrPacketTypeIp = 14
}
 Stat Group Mode Attribute Selectors. More...
 

Functions

int opennsl_stat_custom_group_create (int unit, uint32 mode_id, opennsl_stat_object_t object, uint32 *stat_counter_id, uint32 *num_entries) LIB_DLL_EXPORTED
 Associate an accounting object to customized group mode.
 
void opennsl_stat_group_mode_attr_selector_t_init (opennsl_stat_group_mode_attr_selector_t *attr_selector) LIB_DLL_EXPORTED
 Initialize an attribute selector of Stat Flex Group Mode.
 
int opennsl_stat_group_mode_id_create (int unit, uint32 flags, uint32 total_counters, uint32 num_selectors, opennsl_stat_group_mode_attr_selector_t *attr_selectors, uint32 *mode_id) LIB_DLL_EXPORTED
 Create Customized Stat Group mode for given Counter Attributes In network switch, OAM LM is supported through Flex Counters, When OPENNSL_STAT_GROUP_MODE_CAPABILITY_OAM flag is passed along with OPENNSL_STAT_GROUP_MODE_INGRESS or OPENNSL_STAT_GROUP_MODE_EGRESS, it instructs the API to create a stat group suitable for OAM.