source: tools/tracereport/tracereport.h @ 3ac4bf7

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 3ac4bf7 was dd1217b, checked in by Shane Alcock <salcock@…>, 14 years ago
  • Tools that use PRIu64 or similar for output need to include lt_inttypes.h otherwise they won't compile on systems that don't define them - e.g. OpenBSD 3.5
  • Also fixed a variable in ecn_report that wasn't declared at the start of the code block
  • Property mode set to 100644
File size: 632 bytes
Line 
1#ifndef TRACEREPORT_H
2#define TRACEREPORT_H
3
4#include "lt_inttypes.h"
5
6typedef struct {
7        uint64_t count;
8        uint64_t bytes;
9} stat_t;
10
11typedef enum {
12        REPORT_TYPE_ERROR = 1,
13        REPORT_TYPE_FLOW = 1 << 1,
14        REPORT_TYPE_TOS = 1 << 2,
15        REPORT_TYPE_PROTO = 1 << 3,
16        REPORT_TYPE_PORT = 1 << 4,
17        REPORT_TYPE_TTL = 1 << 5,
18        REPORT_TYPE_TCPOPT = 1 << 6,
19        REPORT_TYPE_NLP = 1 << 7,
20        REPORT_TYPE_DIR = 1 << 8,
21        REPORT_TYPE_ECN = 1 << 9,
22        REPORT_TYPE_TCPSEG = 1 << 10,
23        REPORT_TYPE_SYNOPT = 1 << 11,
24        REPORT_TYPE_LOCALITY = 1 << 12, /* No longer used by libtrace */
25        REPORT_TYPE_MISC = 1 << 13,
26        REPORT_TYPE_DROPS = 1<< 14
27} report_type_t;
28
29#endif
Note: See TracBrowser for help on using the repository browser.