Changeset 4f87b817


Ignore:
Timestamp:
12/03/07 23:22:03 (13 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:
287b2b4
Parents:
fdc7502
Message:

Clarify why we implement a function then return failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    r25a9201 r4f87b817  
    495495/* Linux doesn't keep track how many packets were seen before filtering
    496496 * so we can't tell how many packets were filtered.  Bugger.  So annoying.
     497 *
     498 * Since we tell libtrace that we do support filtering, if we don't declare
     499 * this here as failing, libtrace will happily report for us that it didn't
     500 * filter any packets, so don't lie -- return that we don't know.
    497501 */
    498502static uint64_t linuxnative_get_filtered_packets(libtrace_t *trace) {
Note: See TracChangeset for help on using the changeset viewer.