OpenNSL API Guide and Reference Manual
Welcome
OpenNSL Documentation
API Reference
Files
File List
Globals
include
opennsl
typesX.h
Go to the documentation of this file.
1
4
/*****************************************************************************
5
*
6
* This software is governed by the Broadcom Advanced Switch APIs license.
7
* This license is set out in the
8
* https://github.com/Broadcom-Switch/OpenNSL/Legal/LICENSE-Adv file.
9
*
10
* Copyright 2015-2016 Broadcom Corporation. All rights reserved.
11
*
12
***************************************************************************/
16
#ifndef __OPENNSL_TYPESX_H__
17
#define __OPENNSL_TYPESX_H__
18
19
#include <
sal/types.h
>
20
#include <
sal/commdefs.h
>
21
#include <
shared/bitop.h
>
22
#include <
shared/pbmp.h
>
23
#include <
shared/gport.h
>
24
#include <
shared/types.h
>
25
#include <
shared/util.h
>
26
27
#if !defined(OPENNSL_LOCAL_UNITS_MAX)
28
#endif
29
#if !defined(OPENNSL_UNITS_MAX)
30
#endif
31
#if defined(LE_HOST)
32
#endif
33
34
typedef
enum
opennsl_field_stat_e
{
35
opennslFieldStatBytes
= 0,
36
opennslFieldStatPackets
= 1,
38
opennslFieldStatDefault
=
opennslFieldStatPackets
,
39
opennslFieldStatGreenBytes
= 2,
40
opennslFieldStatGreenPackets
= 3,
41
opennslFieldStatYellowBytes
= 4,
42
opennslFieldStatYellowPackets
= 5,
43
opennslFieldStatRedBytes
= 6,
44
opennslFieldStatRedPackets
= 7,
45
opennslFieldStatNotGreenBytes
= 8,
46
opennslFieldStatNotGreenPackets
= 9,
47
opennslFieldStatNotYellowBytes
= 10,
48
opennslFieldStatNotYellowPackets
= 11,
49
opennslFieldStatNotRedBytes
= 12,
50
opennslFieldStatNotRedPackets
= 13,
51
opennslFieldStatAcceptedBytes
= 14,
53
opennslFieldStatAcceptedPackets
= 15,
55
opennslFieldStatAcceptedGreenBytes
= 16,
56
opennslFieldStatAcceptedGreenPackets
= 17,
58
opennslFieldStatAcceptedYellowBytes
= 18,
60
opennslFieldStatAcceptedYellowPackets
= 19,
62
opennslFieldStatAcceptedRedBytes
= 20,
63
opennslFieldStatAcceptedRedPackets
= 21,
64
opennslFieldStatAcceptedNotGreenBytes
= 22,
66
opennslFieldStatAcceptedNotGreenPackets
= 23,
68
opennslFieldStatAcceptedNotYellowBytes
= 24,
70
opennslFieldStatAcceptedNotYellowPackets
= 25,
72
opennslFieldStatAcceptedNotRedBytes
= 26,
74
opennslFieldStatAcceptedNotRedPackets
= 27,
76
opennslFieldStatDroppedBytes
= 28,
78
opennslFieldStatDroppedPackets
= 29,
80
opennslFieldStatDroppedGreenBytes
= 30,
81
opennslFieldStatDroppedGreenPackets
= 31,
83
opennslFieldStatDroppedYellowBytes
= 32,
84
opennslFieldStatDroppedYellowPackets
= 33,
86
opennslFieldStatDroppedRedBytes
= 34,
87
opennslFieldStatDroppedRedPackets
= 35,
88
opennslFieldStatDroppedNotGreenBytes
= 36,
90
opennslFieldStatDroppedNotGreenPackets
= 37,
92
opennslFieldStatDroppedNotYellowBytes
= 38,
94
opennslFieldStatDroppedNotYellowPackets
= 39,
96
opennslFieldStatDroppedNotRedBytes
= 40,
98
opennslFieldStatDroppedNotRedPackets
= 41,
100
opennslFieldStatOffset0Bytes
= 42,
101
opennslFieldStatOffset0Packets
= 43,
103
opennslFieldStatOffset1Bytes
= 44,
104
opennslFieldStatOffset1Packets
= 45,
106
opennslFieldStatOffset2Bytes
= 46,
107
opennslFieldStatOffset2Packets
= 47,
109
opennslFieldStatOffset3Bytes
= 48,
110
opennslFieldStatOffset3Packets
= 49,
112
opennslFieldStatOffset4Bytes
= 50,
113
opennslFieldStatOffset4Packets
= 51,
115
opennslFieldStatOffset5Bytes
= 52,
116
opennslFieldStatOffset5Packets
= 53,
118
opennslFieldStatOffset6Bytes
= 54,
119
opennslFieldStatOffset6Packets
= 55,
121
opennslFieldStatOffset7Bytes
= 56,
122
opennslFieldStatOffset7Packets
= 57,
124
opennslFieldStatCount
= 58
125
}
opennsl_field_stat_t
;
126
/* __doxy_func_body_end__ */
127
128
#endif
/* __OPENNSL_TYPESX_H__ */
129
© 2016-17 by Broadcom Limited. All rights reserved.