Changeset 652d720
- Timestamp:
- 03/27/15 18:02:26 (7 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
- 91e016c
- Parents:
- 5431dfc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h.in
r0a52945 r652d720 1386 1386 */ 1387 1387 typedef struct libtrace_stat_t { 1388 // Align to 64 bits, because the compiler is likely to do this anyway.1389 #if __BYTE_ORDER == __LITTLE_ENDIAN1390 1388 #define X(name) LT_BITFIELD64 name ##_valid : 1; 1391 1389 LIBTRACE_STAT_FIELDS … … 1398 1396 LT_BITFIELD64 magic: 8; /**< A number stored against the format to 1399 1397 ensure the struct was allocated correctly */ 1400 #else 1401 LT_BITFIELD64 magic: 8; 1402 LT_BITFIELD64 reserved2: 24; 1403 LT_BITFIELD64 reserved1: 26; 1404 LT_BITFIELD64 dropped_valid: 1; 1405 LT_BITFIELD64 received_valid: 1; 1406 LT_BITFIELD64 filtered_valid: 1; 1407 LT_BITFIELD64 accepted_valid: 1; 1408 #endif 1398 1409 1399 /* These must all be uint64_t's, match this order with the X macro */ 1410 1400 uint64_t accepted;
Note: See TracChangeset
for help on using the changeset viewer.