Revision 59, 2.1 KB
(checked in by andreu, 15 years ago)
|
new aggregation method, based on SNMP index. New parameters in renetcolParam.h and new compilation options in configure.in.
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | #ifndef GET_CONF_H |
---|
26 | #define GET_CONF_H |
---|
27 | |
---|
28 | #include "renetcolParam.h" |
---|
29 | |
---|
30 | struct PrefixV4{ |
---|
31 | unsigned long beginning; |
---|
32 | unsigned long end; |
---|
33 | unsigned short mask; |
---|
34 | unsigned short hasSubnet; |
---|
35 | #ifdef IPV4AGGIDR |
---|
36 | unsigned short routerNb; |
---|
37 | #endif |
---|
38 | unsigned long sampling; |
---|
39 | unsigned long long flowNbIN; |
---|
40 | unsigned long long bytesNbIN; |
---|
41 | unsigned long long pktsNbIN; |
---|
42 | unsigned long long flowNbOUT; |
---|
43 | unsigned long long bytesNbOUT; |
---|
44 | unsigned long long pktsNbOUT; |
---|
45 | unsigned long long firstCoSIN; |
---|
46 | unsigned long long secondCoSIN; |
---|
47 | unsigned long long thirdCoSIN; |
---|
48 | unsigned long long fourthCoSIN; |
---|
49 | unsigned long long firstCoSOUT; |
---|
50 | unsigned long long secondCoSOUT; |
---|
51 | unsigned long long thirdCoSOUT; |
---|
52 | unsigned long long fourthCoSOUT; |
---|
53 | }; |
---|
54 | |
---|
55 | void initConf(char *); |
---|
56 | int longCmp(const void *, const void *); |
---|
57 | int getRegisteredRouters(char *, unsigned long *, unsigned long *); |
---|
58 | unsigned short getPrefixV4(char *, struct PrefixV4 *); |
---|
59 | |
---|
60 | #endif |
---|