Changeset f2fae49 for lib/libtrace.h.in


Ignore:
Timestamp:
11/28/07 23:04:28 (14 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:
9d3c721
Parents:
95b1d6d
Message:

Add new "loss" framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r95b1d6d rf2fae49  
    834834        PRINTF(2,3);
    835835
     836/** Return the number of captured packets
     837 * Includes the number of packets counted as early as possible, before
     838 * filtering, and includes dropped packets.
     839 *
     840 * @param trace         Trace to examine
     841 * @returns number of packets seen at the capture point before filtering.
     842 *
     843 * If this is not known, this will return UINT64_MAX
     844 */
     845uint64_t trace_get_received_packets(const libtrace_t *trace);
     846
     847/** Return the number of filtered packets
     848 * Returns the number of packets that were captured, but discarded for not
     849 * matching a trace filter.  This includes packets
     850 *
     851 * @param trace         Trace file to examine
     852 * @returns the number of packets that were successfully captured, but filtered
     853 *
     854 * If this is not known, this will return UINT64_MAX
     855 */
     856uint64_t trace_get_filtered_packets(const libtrace_t *trace);
     857
     858/** Return the number of packets that have been dropped for lack of packets
     859 * @param trace         Trace file to examine
     860 * @returns The number of packets captured, but dropped due to buffer overruns
     861 */
     862uint64_t trace_get_dropped_packets(const libtrace_t *trace);
     863
     864/** Return the number of packets that have been returned to library user
     865 * @param trace         Trace file to examine
     866 * @returns The number of packets returned to the user of the library.
     867 */
     868uint64_t trace_get_accepted_packets(const libtrace_t *trace);
     869
    836870
    837871/*@}*/
Note: See TracChangeset for help on using the changeset viewer.