source: tools/tracereport/tracereport.h @ 4423dc7

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

Add support to various tools for outputting the number of dropped packets
they've seen

  • Property mode set to 100644
File size: 606 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_LOCALITY = 1 << 12, /* No longer used by libtrace */
23        REPORT_TYPE_MISC = 1 << 13,
24        REPORT_TYPE_DROPS = 1<< 14
25} report_type_t;
26
27#endif
Note: See TracBrowser for help on using the repository browser.