Changeset 1344aa8 for lib/daglegacy.h


Ignore:
Timestamp:
07/03/07 13:34:06 (14 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
721c0e4
Parents:
e1fdc05
Message:
  • Added a new format for reading NZIX-I traces, called legacynzix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/daglegacy.h

    re1fdc05 r1344aa8  
    2222        uint32_t ts_sec;
    2323} PACKED atmhdr_t;
     24
     25typedef 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;
    2435#endif
Note: See TracChangeset for help on using the changeset viewer.