Changeset 15e9390 for lib/dagformat.h


Ignore:
Timestamp:
10/15/09 17:49:42 (11 years ago)
Author:
Perry Lorier <perry@…>
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:
3c26e2a
Parents:
db03808
Message:

Rearrange struct fields to get better packing on 64bit machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/dagformat.h

    r2faa57e r15e9390  
    1616        uint32_t  hdlc;
    1717        uint8_t   pload[1];             /**< payload */
    18 pos_rec_t;
     18PACKED pos_rec_t;
    1919
    2020/** GPP Type 2 */
     
    2626        uint16_t  etype;                /**< ether type (?) */
    2727        uint8_t   pload[1];             /**< payload */
    28 eth_rec_t;
     28PACKED eth_rec_t;
    2929
    3030/** GPP Type 3 */
     
    3232        uint32_t  header;
    3333        uint8_t   pload[1];             /**< payload */
    34 atm_rec_t;
     34PACKED atm_rec_t;
    3535
    3636/** GPP Type 4 */
     
    3838        uint32_t  header;
    3939        uint8_t   pload[1];             /**< payload */
    40 aal5_rec_t;
     40PACKED aal5_rec_t;
    4141
    4242/** Flags */
Note: See TracChangeset for help on using the changeset viewer.