Changeset 2b7750a for lib/format_dag25.c


Ignore:
Timestamp:
03/10/08 13:45:34 (14 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:
6033b99
Parents:
03cecf2
Message:
  • Added missing get_dropped_packets function to format_dag25
  • Removed naming distinction between the two dag_get_dropped_packets function as it is unnecessary and inconsistent - all the other dag functions are named dag_* rather than dag24_* and dag25_*
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dag25.c

    rf3f3558 r2b7750a  
    370370}
    371371
     372static uint64_t dag_get_dropped_packets(libtrace_t *trace) {
     373        return DATA(trace)->drops;
     374}
    372375
    373376static void dag_help(void) {
     
    414417        NULL,                           /* get_received_packets */
    415418        NULL,                           /* get_filtered_packets */
    416         dag25_get_dropped_packets,      /* get_dropped_packets */
     419        dag_get_dropped_packets,        /* get_dropped_packets */
    417420        NULL,                           /* get_captured_packets */
    418421        NULL,                           /* get_fd */
Note: See TracChangeset for help on using the changeset viewer.