Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
uapi
linux
gen_stats.h
Go to the documentation of this file.
1
#ifndef __LINUX_GEN_STATS_H
2
#define __LINUX_GEN_STATS_H
3
4
#include <linux/types.h>
5
6
enum
{
7
TCA_STATS_UNSPEC
,
8
TCA_STATS_BASIC
,
9
TCA_STATS_RATE_EST
,
10
TCA_STATS_QUEUE
,
11
TCA_STATS_APP
,
12
__TCA_STATS_MAX
,
13
};
14
#define TCA_STATS_MAX (__TCA_STATS_MAX - 1)
15
21
struct
gnet_stats_basic
{
22
__u64
bytes
;
23
__u32
packets
;
24
};
25
struct
gnet_stats_basic_packed
{
26
__u64
bytes
;
27
__u32
packets
;
28
}
__attribute__
((packed));
29
35
struct
gnet_stats_rate_est
{
36
__u32
bps
;
37
__u32
pps
;
38
};
39
48
struct
gnet_stats_queue
{
49
__u32
qlen
;
50
__u32
backlog
;
51
__u32
drops
;
52
__u32
requeues
;
53
__u32
overlimits
;
54
};
55
61
struct
gnet_estimator
{
62
signed
char
interval
;
63
unsigned
char
ewma_log
;
64
};
65
66
67
#endif
/* __LINUX_GEN_STATS_H */
Generated on Thu Jan 10 2013 14:53:04 for Linux Kernel by
1.8.2