Changeset 0d57541 for lib/libtrace.h


Ignore:
Timestamp:
02/28/06 13:44:36 (16 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:
5b66921
Parents:
c26ca86
Message:

Add preliminary seek support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    rd8f02df r0d57541  
    743743int trace_seek_timeval(libtrace_t *trace, struct timeval tv);
    744744
     745/** Seek within a trace
     746 * @param trace         trace to seek
     747 * @param ts            erf timestamp
     748 * @return 0 on success.
     749 * Make the next packet read to be the first packet to occur at or after the
     750 * time searched for.  This must be called in the configuration state (ie,
     751 * before trace_start() or after trace_pause().
     752 * @note This function may be extremely slow.
     753 */
     754int trace_seek_erf_timestamp(libtrace_t *trace, uint64_t ts);
     755
    745756/*@}*/
    746757
Note: See TracChangeset for help on using the changeset viewer.