Changeset b5af22c for lib/libtrace.h.in


Ignore:
Timestamp:
04/14/10 15:26:28 (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:
a17c329
Parents:
81c2da8
Message:

Split compression type out from fileflags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r0d1c9cf rb5af22c  
    399399        TRACE_ETHERTYPE_MPLS    = 0x8847,       /**< MPLS Unicast traffic */
    400400        TRACE_ETHERTYPE_MPLS_MC = 0x8848,       /**< MPLS Multicast traffic */
    401         TRACE_ETHERTYPE_PPP_DISC = 0x8863,      /**< PPPoE Service Discovery */
     401        TRACE_ETHERTYPE_PPP_DISC= 0x8863,       /**< PPPoE Service Discovery */
    402402        TRACE_ETHERTYPE_PPP_SES = 0x8864        /**< PPPoE Session Messages */
    403403} libtrace_ethertype_t;
     
    882882                void *value);
    883883
     884/** Valid compression types
     885 * Note, this must be kept in sync with WANDIO_COMPRESS_* numbers in wandio.h
     886 */
     887typedef enum {
     888        TRACE_OPTION_COMPRESSTYPE_NONE = 0, /**< No compression */
     889        TRACE_OPTION_COMPRESSTYPE_ZLIB = 1, /**< GZip Compression */
     890        TRACE_OPTION_COMPRESSTYPE_BZ2  = 2, /**< BZip2 Compression */
     891        TRACE_OPTION_COMPRESSTYPE_LZO  = 3, /**< LZO Compression */
     892} trace_option_compresstype_t;
     893
    884894/** Valid configuration options for output traces */
    885895typedef enum {
     
    888898        /** Compression level: 0 = no compression, 1 = faster compression,
    889899         * 9 = better compression */
    890         TRACE_OPTION_OUTPUT_COMPRESS   
     900        TRACE_OPTION_OUTPUT_COMPRESS,
     901        /** Compression type, see trace_option_compresstype_t */
     902        TRACE_OPTION_OUTPUT_COMPRESSTYPE,
    891903} trace_option_output_t;
    892904
Note: See TracChangeset for help on using the changeset viewer.