Changeset b27ed21 for lib/libtrace.h.in


Ignore:
Timestamp:
01/21/19 11:43:12 (22 months ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
ddad48c
Parents:
c8171e5
Message:

Add datatype enum to libtrace_meta_item_t structure, Convert interface speeds from network to host byte ordering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    rc8171e5 rb27ed21  
    581581} libtrace_ethertype_t;
    582582
     583/** Enumeration of datatype returned inside libtrace_meta_item_t structure */
     584typedef enum {
     585        TRACE_META_UINT32_T     = 1,       
     586        TRACE_META_UINT64_T     = 2,
     587        TRACE_META_STRING       = 3,
     588        TRACE_META_UNKNOWN      = 4,
     589        TRACE_META_UINT128_T    = 5
     590} meta_datatype_t;
     591
    583592typedef struct libtrace_meta_result {
    584593        uint16_t type;
     
    589598        uint16_t option;
    590599        uint16_t len;
    591         uint8_t data_type;
     600        meta_datatype_t datatype;
    592601        void *data;
    593602} libtrace_meta_item_t;
     
    37323741/*@}*/
    37333742
    3734 
    3735 
    37363743DLLEXPORT int trace_destroy_meta(libtrace_meta_t *result);
    37373744
Note: See TracChangeset for help on using the changeset viewer.