PeriodicLossChannel.ned

NED File src/inet/common/misc/PeriodicLossChannel.ned

Name Type Description
PeriodicLossChannel channel

This channel uses the per parameter for periodic packet loss. That means it delivers exactly 1/per packets, followed by one drop. It does not use the BER paramater.

Source code

package inet.common.misc;

//
// This channel uses the per parameter for periodic packet loss. That means it
// delivers exactly 1/per packets, followed by one drop. It does not use the
// BER paramater.
//
channel PeriodicLossChannel extends ned.DatarateChannel
{
    ber = 0; // Larger values will be ignored, only PER is used.
    @class(PeriodicLossChannel);
}