Changeset b25f4b0 for tools/traceflow


Ignore:
Timestamp:
04/26/07 14:00:46 (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:
1dc58e0
Parents:
0a65ed8
Message:

Added a new report type to tracereport which can be used to provide stats as to how much traffic is national / international based on the IP addresses involved. This report does require the user to provide a list of "local" IP ranges.
Replaced the "remove" call in traceflow which should make it run a lot faster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/traceflow/traceflow.cc

    r87d0a5b rb25f4b0  
    104104       
    105105        flow->expiry_ts = ts + timeout;
    106         flow->flow_list->remove(flow);
     106        flow->flow_list->erase(active_flows[flow->id]);
    107107        flow->flow_list = lru;
    108108        lru->push_front(flow);
Note: See TracChangeset for help on using the changeset viewer.