This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
Meter -- Click element; classifies packet stream by rate (pkt/s)
Meter(RATE1, RATE2, ..., RATEn)
Ports: 1 input, 2 or more outputs
Package: standard (core)
Classifies packets based on the rate of packet arrival. The rate is measured in packets per second using an exponential weighted moving average. (The related BandwidthMeter element measures rates in bytes per second.) The configuration string consists of one or more rate arguments. Earlier rates in the list must be less than later rates. A Meter with n rate arguments will have n+1 outputs. It sends packets out the output corresponding to the current rate. If the rate is less than RATE1 packets are sent to output 0; if it is >= RATE1 but < RATE2, packets are sent to output 1; and so on. If it is >= RATEn, packets are sent to output n.
The entire packet stream is sent to the output corresponding to the current rate. If you would like the packet stream to be split, with at most RATE1 packets per second being sent out the first output and the remainder being sent to the second output, check out RatedSplitter.
This configuration fragment drops the input stream when it is generating more than 10,000 packets per second.
... -> m :: Meter(10000) -> ...; m -> Discard;
Generated by 'click-elem2man' from '../elements/standard/meter.hh:6' on 12/Jul/2011.