source: tools/tracereport/tracereport.h @ 7be3cc4

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 7be3cc4 was 7be3cc4, checked in by Perry Lorier <perry@…>, 15 years ago

Add start time, end time, duration, packets and packets per second reports.
Fixes #236
Make the default "all reports" instead of "no reports" for less surprise
value.

  • Property mode set to 100644
File size: 511 bytes
Line 
1#ifndef TRACEREPORT_H
2#define TRACEREPORT_H
3
4typedef struct {
5        uint64_t count;
6        uint64_t bytes;
7} stat_t;
8
9typedef 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_MISC = 1 << 12
23} report_type_t;
24
25#endif
Note: See TracBrowser for help on using the repository browser.