source: tools/tracereport/tracereport.h @ 171cc28

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 171cc28 was 051618c, checked in by Shane Alcock <salcock@…>, 14 years ago

Added a new report type which reports the various option combinations seen on TCP SYN packets

  • Property mode set to 100644
File size: 482 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_t;
23
24#endif
Note: See TracBrowser for help on using the repository browser.