This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
AggregatePacketCounter -- Click element; counts packets per packet number and aggregate annotation
Ports: 1 or more inputs, 1 or more outputs
Package: analysis (core)
Maintains counts of how many packets seen for each aggregate value and packet number. Elements such as FromCapDump, AggregateIP and AggregateIPFlows set the aggregate annotation; FromCapDump sets the packet number annotation too. AggregatePacketCounter may have any number of inputs, but always has the same number of outputs as inputs. Packets arriving on input port N are emitted on output port N. The element maintains separate counts for each input. See the example for how this can be used. Keyword arguments are:
The aggregate identifier is stored in host byte order. Thus, the aggregate ID corresponding to IP address 184.108.40.206 is 2147483648. Only available in user-level processes.
This configuration reads sender- and receiver-side packets from 'cap' dumps, and writes the packet numbers of any undelivered packets to /tmp/x. It depends on FromCapDump's aggregate, packet number, and paint annotations (note the use of CheckPaint to ignore acknowledgements).
sender_trace :: FromCapDump(0.s, STOP true, AGGREGATE 1); receiver_trace :: FromCapDump(0.r, STOP true, AGGREGATE 1); counter :: AggregatePacketCounter; sender_trace -> CheckPaint(0) ->  counter  -> Discard; receiver_trace -> CheckPaint(0) ->  counter  -> Discard; DriverManager(wait_pause, wait_pause, save counter.undelivered1 /tmp/x);
Generated by 'click-elem2man' from '../elements/analysis/aggpktcounter.hh' on 7/Mar/2009.