Changeset 979a84f4 for lib/libtrace.h.in


Ignore:
Timestamp:
09/20/11 15:50:53 (10 years ago)
Author:
Shane Alcock <salcock@…>
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:
50c5053
Parents:
c0ccccd
Message:
  • We now cache the wire length as well
  • If we're going to cache the link type, we should probably use it whenever we call trace_get_link_type()!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    rc0506ea r979a84f4  
    420420        buf_control_t buf_control;      /**< Describes memory ownership */
    421421        int capture_length;             /**< Cached capture length */
     422        int wire_length;                /**< Cached wire length */
    422423        int payload_length;             /**< Cached payload length */
    423424        void *l2_header;                /**< Cached link header */
Note: See TracChangeset for help on using the changeset viewer.