Changeset e2aebe7 for lib/dagformat.h


Ignore:
Timestamp:
05/29/06 11:27:11 (15 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:
f208f92
Parents:
ad96d00
Message:

Change the API for filters to

trace_create_filter
trace_apply_filter
trace_destroy_filter

Also, cleanup bitfield issues with msvc/gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/dagformat.h

    rbf66333 re2aebe7  
    4646/** Flags */
    4747typedef struct flags {
    48         uint8_t   iface:2;
    49         uint8_t   vlen:1;
    50         uint8_t   trunc:1;
    51         uint8_t   rxerror:1;
    52         uint8_t   dserror:1;
    53         uint8_t  pad:2;
     48        LT_BITFIELD8  iface:2;          /**< Interface (direction) */
     49        LT_BITFIELD8  vlen:1;   
     50        LT_BITFIELD8  trunc:1;          /**< Trunacted */
     51        LT_BITFIELD8  rxerror:1;        /**< RX Error in this packet/before
     52                                          * this packet
     53                                          */
     54        LT_BITFIELD8  dserror:1;        /**< Data stream error */
     55        LT_BITFIELD8  pad:2;            /**< Unused */
    5456} PACKED flags_t;
    5557
Note: See TracChangeset for help on using the changeset viewer.