Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HostMIBSInterface.h
Go to the documentation of this file.
1 
2 
3 #ifndef _HOST_MIBSINTERFACE_H
4 #define _HOST_MIBSINTERFACE_H
5 
6 /*
7  * Copyright (c) 2007 Beceem Communications Pvt. Ltd
8  * File Name: HostMIBSInterface.h
9  * Abstract: This file contains DS used by the Host to update the Host
10  * statistics used for the MIBS.
11  */
12 
13 #define MIBS_MAX_CLASSIFIERS 100
14 #define MIBS_MAX_PHSRULES 100
15 #define MIBS_MAX_SERVICEFLOWS 17
16 #define MIBS_MAX_IP_RANGE_LENGTH 4
17 #define MIBS_MAX_PORT_RANGE 4
18 #define MIBS_MAX_PROTOCOL_LENGTH 32
19 #define MIBS_MAX_PHS_LENGTHS 255
20 #define MIBS_IPV6_ADDRESS_SIZEINBYTES 0x10
21 #define MIBS_IP_LENGTH_OF_ADDRESS 4
22 #define MIBS_MAX_HIST_ENTRIES 12
23 #define MIBS_PKTSIZEHIST_RANGE 128
24 
25 typedef union _U_MIBS_IP_ADDRESS
26 {
27  struct
28  {
29  //Source Ip Address Range
31  //Source Ip Mask Address Range
33  };
34  struct
35  {
36  //Source Ip Address Range
38  //Source Ip Mask Address Range
40 
41  };
42  struct
43  {
48  };
49  struct
50  {
53  };
55 
56 
57 typedef struct _S_MIBS_HOST_INFO
58 {
61  // this to keep track of the Tx and Rx MailBox Registers.
65  // to keep track the no of byte received
68 
69  /* QOS Related */
79 
81 {
87  // This field detemines the Classifier Priority
90  /*IP Source Address Length*/
92 
94  /* IP Destination Address Length */
96  UCHAR ucIPTypeOfServiceLength;//Type of service Length
97  UCHAR ucTosLow;//Tos Low
98  UCHAR ucTosHigh;//Tos High
99  UCHAR ucTosMask;//Tos Mask
100  UCHAR ucProtocolLength;//protocol Length
116 
117 
118 typedef struct _S_MIBS_PHS_RULE
119 {
133  // Reserved bytes are 5, so that it is similar to S_PHS_RULE structure.
135 
140 
142 {
164 
166 
167 
169 {
170  //classification extension Rule
174  // This field determines the priority of the SF Queues
176 
180  //BE or rtPS
182  //maximum size of the bucket for the queue
206 
208 {
217 
219 
221 {
228 #endif
229 
230