Changeset d0f25d4 for lib/libtrace.h.in


Ignore:
Timestamp:
01/23/19 13:02:54 (2 years ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
23741ec5
Parents:
23d263a
Message:

Add ERF and PCAPNG decoders to libpacketdump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    rb27ed21 rd0f25d4  
    595595} libtrace_meta_result_t;
    596596
    597 typedef struct libtrace_meta_section_item {
     597typedef struct libtrace_meta_item {
    598598        uint16_t option;
    599599        uint16_t len;
     
    607607        libtrace_meta_item_t *items;
    608608} libtrace_meta_t;
    609 
    610 typedef struct libtrace_meta {
    611         char *interface_name;           /**< Interface name packet was captured on */
    612         void *interface_mac;            /**< Interface MAC address packet was captured on */
    613         uint64_t interface_speed;       /**< Interface speed packet was captured on */
    614         uint32_t interface_ipv4;        /**< Interface IP4 address packet was captured on */
    615         void *interface_ipv6;           /**< Interface IP6 address packet was captured on */
    616         char *interface_description;    /**< Interface description */
    617         uint32_t interface_num;         /**< Interface number */
    618         char *host_os;                  /**< Host OS the packet was captured on */
    619         uint32_t interface_fcslen;      /**< Frame check sequence length for the interface */
    620         char *interface_hardware_desc;  /**< Interface hardware description string */
    621         char *interface_comment;        /**< Interface comment */
    622         char *capture_application;      /**< Name of the capturing application */
    623 } libtrace_meta_tt;
    624609
    625610typedef struct libtrace_packet_cache {
     
    659644        int refcount;                 /**< Reference counter */
    660645        int which_trace_start;          /**< Used to match packet to a started instance of the parent trace */
    661 
    662         libtrace_meta_tt meta;           /**< Meta data for the packet */
    663646} libtrace_packet_t;
    664647
Note: See TracChangeset for help on using the changeset viewer.