4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since b25f4b0 was
b25f4b0,
checked in by Shane Alcock <salcock@…>, 15 years ago
|
Added a new report type to tracereport which can be used to provide stats as to how much traffic is national / international based on the IP addresses involved. This report does require the user to provide a list of "local" IP ranges.
Replaced the "remove" call in traceflow which should make it run a lot faster.
|
-
Property mode set to
100644
|
File size:
543 bytes
|
Line | |
---|
1 | #ifndef TRACEREPORT_H |
---|
2 | #define TRACEREPORT_H |
---|
3 | |
---|
4 | typedef struct { |
---|
5 | uint64_t count; |
---|
6 | uint64_t bytes; |
---|
7 | } stat_t; |
---|
8 | |
---|
9 | typedef enum { |
---|
10 | REPORT_TYPE_ERROR = 1, |
---|
11 | REPORT_TYPE_FLOW = 1 << 1, |
---|
12 | REPORT_TYPE_TOS = 1 << 2, |
---|
13 | REPORT_TYPE_PROTO = 1 << 3, |
---|
14 | REPORT_TYPE_PORT = 1 << 4, |
---|
15 | REPORT_TYPE_TTL = 1 << 5, |
---|
16 | REPORT_TYPE_TCPOPT = 1 << 6, |
---|
17 | REPORT_TYPE_NLP = 1 << 7, |
---|
18 | REPORT_TYPE_DIR = 1 << 8, |
---|
19 | REPORT_TYPE_ECN = 1 << 9, |
---|
20 | REPORT_TYPE_TCPSEG = 1 << 10, |
---|
21 | REPORT_TYPE_SYNOPT = 1 << 11, |
---|
22 | REPORT_TYPE_LOCALITY = 1 << 12 |
---|
23 | REPORT_TYPE_MISC = 1 << 13 |
---|
24 | } report_type_t; |
---|
25 | |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.