4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 1344aa8 was
1344aa8,
checked in by Shane Alcock <salcock@…>, 15 years ago
|
- Added a new format for reading NZIX-I traces, called legacynzix
|
-
Property mode set to
100644
|
File size:
801 bytes
|
Line | |
---|
1 | #ifndef DAG_LEGACY_H |
---|
2 | #define DAG_LEGACY_H |
---|
3 | |
---|
4 | typedef struct legacy_cell { |
---|
5 | uint64_t ts; |
---|
6 | uint32_t crc; |
---|
7 | } PACKED legacy_cell_t; |
---|
8 | |
---|
9 | typedef struct legacy_ether { |
---|
10 | uint64_t ts; |
---|
11 | uint16_t wlen; |
---|
12 | } PACKED legacy_ether_t; |
---|
13 | |
---|
14 | typedef struct legacy_pos { |
---|
15 | uint64_t ts; |
---|
16 | uint32_t slen; |
---|
17 | uint32_t wlen; |
---|
18 | } PACKED legacy_pos_t; |
---|
19 | |
---|
20 | typedef struct atmhdr { |
---|
21 | uint32_t ts_fraction; |
---|
22 | uint32_t ts_sec; |
---|
23 | } PACKED atmhdr_t; |
---|
24 | |
---|
25 | typedef struct legacy_nzix { |
---|
26 | uint32_t ts; |
---|
27 | uint32_t crc; |
---|
28 | uint32_t len; |
---|
29 | /* The padding has actually been placed in the middle of the IP |
---|
30 | * header - when we read in the packet, we will move various bits |
---|
31 | * of the packet around until the padding ends up here and the |
---|
32 | * IP header is undivided */ |
---|
33 | uint8_t pad[2]; |
---|
34 | } PACKED legacy_nzix_t; |
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.