Changeset c04929c for lib/libtrace_int.h


Ignore:
Timestamp:
08/02/13 17:30:15 (8 years ago)
Author:
Richard Sanger <rjs51@…>
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:
3799f51
Parents:
212faa13
Message:

Added the new live trace format Intel DPDK - See the wiki for more documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    rda46c9d rc04929c  
    929929 * @{
    930930 */
    931 #if __BYTE_ORDER == __BIG_ENDIAN
     931#if BYTE_ORDER == BIG_ENDIAN
    932932#define bswap_host_to_be64(num) ((uint64_t)(num))
    933933#define bswap_host_to_le64(num) byteswap64(num)
     
    947947 * attempt to optimise it
    948948 */
    949 #elif __BYTE_ORDER == __LITTLE_ENDIAN
     949#elif BYTE_ORDER == LITTLE_ENDIAN
    950950#define bswap_host_to_be64(num) (byteswap64(num))
    951951#define bswap_host_to_le64(num) ((uint64_t)(num))
     
    10211021void bpf_constructor(void);
    10221022#endif
     1023#if HAVE_DPDK
     1024/** Constructor for Intels DPDK format module */
     1025void dpdk_constructor(void);
     1026#endif
    10231027
    10241028/** Extracts the RadioTap flags from a wireless link header
Note: See TracChangeset for help on using the changeset viewer.